A B C D E F G H I J K L M N O P Q R S T U V W _

A

addGives(String[]) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
addGlobalAndThreadedHandlers(ImprovedQueryRunner) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
addHandler(ResultSetHandler) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
addHandler(SqlHandler) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
addModel(Object) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
addNoParamHandlerByClass(Class) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
addOther(SqlItem) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
addParam(Object) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
addSql(Object) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
addSqlHandler(SqlHandler) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
addTemplateMap(Map<String, Object>) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
Add map content to current template map, if keys already exist will use new value replace
addTemplateParam(SqlItem) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
Advice - Interface in org.aopalliance.aop
Tag interface for Advice.
allowColonAsDelimiter - Variable in class com.github.drinkjava2.jdbpro.template.BasicSqlTemplate
If set true, ${placeHolder} can write as :placeHolder
Default is true
allowShowSQL - Variable in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
append(T) - Method in class com.github.drinkjava2.jdbpro.LinkStyleArrayList
 
arrayHandler - Static variable in class com.github.drinkjava2.jdbpro.SingleTonHandlers
 
arrayListHandler - Static variable in class com.github.drinkjava2.jdbpro.SingleTonHandlers
 
AspectException - Exception in org.aopalliance.aop
Superclass for all AOP infrastructure exceptions.
AspectException(String) - Constructor for exception org.aopalliance.aop.AspectException
Constructor for AspectException.
AspectException(String, Throwable) - Constructor for exception org.aopalliance.aop.AspectException
Constructor for AspectException.
assertNotNull(Object, String) - Static method in exception com.github.drinkjava2.jdbpro.DbProRuntimeException
 
assertNotNull(Object, String) - Static method in exception com.github.drinkjava2.jtransactions.tinytx.TinyTxRuntimeException
 

B

BasicSqlTemplate - Class in com.github.drinkjava2.jdbpro.template
BasicSqlTemplate is a simple implementation of SqlTemplateEngine.
BasicSqlTemplate() - Constructor for class com.github.drinkjava2.jdbpro.template.BasicSqlTemplate
Build a BasicSqlTemplate instance, default use #{} as delimiter, dollarKeyForDollarPlaceHolder is false, allow
BasicSqlTemplate(String, String, Boolean, Boolean) - Constructor for class com.github.drinkjava2.jdbpro.template.BasicSqlTemplate
 
BasicSqlTemplate.BasicSqlTemplateException - Exception in com.github.drinkjava2.jdbpro.template
 
BasicSqlTemplate.BasicSqlTemplateException(String) - Constructor for exception com.github.drinkjava2.jdbpro.template.BasicSqlTemplate.BasicSqlTemplateException
 
BasicSqlTemplate.BasicSqlTemplateException(String, Throwable) - Constructor for exception com.github.drinkjava2.jdbpro.template.BasicSqlTemplate.BasicSqlTemplateException
 
batchSize - Variable in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
bind(Object...) - Static method in class com.github.drinkjava2.jdbpro.JDBPRO
For tXxxx style templateEngine use, return a SqlItemType.PUT type SqlItem instance, Usage: put("key1",value1,"key2",value2...);

C

changeResultSetHandler(ResultSetHandler<?>) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
clearCache() - Method in class com.github.drinkjava2.jdbpro.handler.SimpleCacheHandler
Call this method to manually clear cache
close(Connection) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
columnListHandler - Static variable in class com.github.drinkjava2.jdbpro.SingleTonHandlers
 
com.github.drinkjava2.jdbpro - package com.github.drinkjava2.jdbpro
 
com.github.drinkjava2.jdbpro.handler - package com.github.drinkjava2.jdbpro.handler
 
com.github.drinkjava2.jdbpro.template - package com.github.drinkjava2.jdbpro.template
 
com.github.drinkjava2.jtransactions - package com.github.drinkjava2.jtransactions
 
com.github.drinkjava2.jtransactions.tinytx - package com.github.drinkjava2.jtransactions.tinytx
 
connectionManager - Variable in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
ConnectionManager - Interface in com.github.drinkjava2.jtransactions
A ConnectionManager implementation determine how to get or release connection from DataSource or ThreadLocal or from Spring or JTA or some container...
construct(ConstructorInvocation) - Method in interface org.aopalliance.intercept.ConstructorInterceptor
Implement this method to perform extra treatments before and after the construction of a new object.
ConstructorInterceptor - Interface in org.aopalliance.intercept
Intercepts the construction of a new object.
ConstructorInvocation - Interface in org.aopalliance.intercept
Description of an invocation to a constuctor, given to an interceptor upon constructor-call.
CustomizedSqlItem - Interface in com.github.drinkjava2.jdbpro
Sql Operation Type

D

DbPro - Class in com.github.drinkjava2.jdbpro
DbPro is the enhanced version of Apache Commons DbUtils's QueryRunner, add below improvements:
DbPro() - Constructor for class com.github.drinkjava2.jdbpro.DbPro
 
DbPro(DataSource) - Constructor for class com.github.drinkjava2.jdbpro.DbPro
 
DbPro(DbProConfig) - Constructor for class com.github.drinkjava2.jdbpro.DbPro
 
DbPro(DataSource, DbProConfig) - Constructor for class com.github.drinkjava2.jdbpro.DbPro
 
DbProConfig - Class in com.github.drinkjava2.jdbpro
DbProConfig class is used to store constructor parameters for build DbPro instance, this is a transient object, never try to re-use it, re-use it will break thread safe of jDbPro
DbProConfig() - Constructor for class com.github.drinkjava2.jdbpro.DbProConfig
 
DbProLogger - Interface in com.github.drinkjava2.jdbpro
For logger output, to avoid logger jar version conflict, default use JDK log, if found commons log, use it, if found Log4j use it..., by this way this project has no dependency to any logger jar.
DbProLogger.DefaultDbProLogger - Class in com.github.drinkjava2.jdbpro
 
DbProLogger.DefaultDbProLogger(Class<?>) - Constructor for class com.github.drinkjava2.jdbpro.DbProLogger.DefaultDbProLogger
 
DbProRuntimeException - Exception in com.github.drinkjava2.jdbpro
This DbProRuntimeException only used to wrap a SQLException to a Runtime type Exception to avoid each time to catch annoying SQLException.
DbProRuntimeException() - Constructor for exception com.github.drinkjava2.jdbpro.DbProRuntimeException
 
DbProRuntimeException(Throwable) - Constructor for exception com.github.drinkjava2.jdbpro.DbProRuntimeException
 
DbProRuntimeException(String) - Constructor for exception com.github.drinkjava2.jdbpro.DbProRuntimeException
 
DbProRuntimeException(String, Throwable) - Constructor for exception com.github.drinkjava2.jdbpro.DbProRuntimeException
 
dealOneSqlItem(boolean, PreparedSQL, Object) - Method in class com.github.drinkjava2.jdbpro.DbPro
Here deal one SqlItem, if can deal it, return true, otherwise return false, subclass (like SqlBoxContext) can override this method
dealSqlItems(PreparedSQL, boolean, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Deal with multiple SqlItems
debug(String) - Method in interface com.github.drinkjava2.jdbpro.DbProLogger
 
debug(String) - Method in class com.github.drinkjava2.jdbpro.DbProLogger.DefaultDbProLogger
 
DEFAULT_ORDER - Static variable in class com.github.drinkjava2.jdbpro.DefaultOrderSqlHandler
 
DefaultOrderSqlHandler - Class in com.github.drinkjava2.jdbpro
SqlHandler is the Interceptor to do some intercept operation instead of direct access database
DefaultOrderSqlHandler() - Constructor for class com.github.drinkjava2.jdbpro.DefaultOrderSqlHandler
 
disableHandlers(Class<?>...) - Static method in class com.github.drinkjava2.jdbpro.JDBPRO
Create a SqlOption.IOC_OBJECT type SqlItem instance, args will create instance by IocTool
disableHandlers(Object[]) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
dollarKeyForDollarPlaceHolder - Variable in class com.github.drinkjava2.jdbpro.template.BasicSqlTemplate
If set true, for ${placeHolder} in template, should use put("$placeHolder",value) instead of use put("placeHolder",value)
Default is false
doPrepare(PreparedSQL) - Method in interface com.github.drinkjava2.jdbpro.CustomizedSqlItem
Prepare special SQL items

E

enableAllHandlers() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
endTransaction(DataSource) - Method in class com.github.drinkjava2.jtransactions.tinytx.TinyTxConnectionManager
 
error(String) - Method in class com.github.drinkjava2.jdbpro.DbProLogger.DefaultDbProLogger
 
error(String) - Method in interface com.github.drinkjava2.jdbpro.DbProLogger
 
error(String) - Method in class com.github.drinkjava2.jtransactions.tinytx.TinyTxLogger
 

F

fillStatement(PreparedStatement, Object...) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
formatParametersForLoggerOutput(Object...) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Format parameters for logger output, subClass can override this method to customise parameters format
formatSqlForLoggerOutput(String) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Format SQL for logger output, subClass can override this method to customise SQL format
frontAdd(T) - Method in class com.github.drinkjava2.jdbpro.LinkStyleArrayList
 

G

getAliases() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getAliveSeconds() - Method in class com.github.drinkjava2.jdbpro.handler.SimpleCacheHandler
 
getAllowShowSQL() - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
getAllowSqlSql() - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
getArguments() - Method in interface org.aopalliance.intercept.Invocation
Get the arguments as an array object.
getBatchSize() - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
getBatchSize() - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
getBean(Class<?>) - Method in interface com.github.drinkjava2.jdbpro.IocTool
Create a bean instance from configClass class, note: result object type may different to configClass itself, that's why here called "configClass", an example can see testGuessAnnotationHasParam() unit test in HandlersTest.java
getCapacity() - Method in class com.github.drinkjava2.jdbpro.handler.SimpleCacheHandler
 
getConnection() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getConnection(DataSource) - Method in interface com.github.drinkjava2.jtransactions.ConnectionManager
A ConnectionManager implementation determine how to get connection from DataSource or ThreadLocal or from Spring or JTA or some container...
getConnection(DataSource) - Method in class com.github.drinkjava2.jtransactions.tinytx.TinyTxConnectionManager
 
getConnectionManager() - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
getConnectionManager() - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
getConstructor() - Method in interface org.aopalliance.intercept.ConstructorInvocation
Get the constructor being called.
getDebugInfo() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
This is used for debug only
getDisabledHandlers() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getEntityNet() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getGivesList() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getGlobalNextAllowShowSql() - Static method in class com.github.drinkjava2.jdbpro.DbProConfig
 
getGlobalNextBatchSize() - Static method in class com.github.drinkjava2.jdbpro.DbProConfig
 
getGlobalNextConnectionManager() - Static method in class com.github.drinkjava2.jdbpro.DbProConfig
 
getGlobalNextIocTool() - Static method in class com.github.drinkjava2.jdbpro.DbProConfig
 
getGlobalNextLogger() - Static method in class com.github.drinkjava2.jdbpro.DbProConfig
 
getGlobalNextMasterSlaveOption() - Static method in class com.github.drinkjava2.jdbpro.DbProConfig
 
getGlobalNextSqlHandlers() - Static method in class com.github.drinkjava2.jdbpro.DbProConfig
 
getGlobalNextTemplateEngine() - Static method in class com.github.drinkjava2.jdbpro.DbProConfig
 
getIgnoreNull() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getIocTool() - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
getIocTool() - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
getLog(Class<?>) - Static method in class com.github.drinkjava2.jdbpro.DbProLogger.DefaultDbProLogger
Build a DbProLogger instance by given targetClass
getLog(Class<?>) - Static method in class com.github.drinkjava2.jtransactions.tinytx.TinyTxLogger
Build a TinyTxLogger instance by given targetClass
getLogger() - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
getLogger() - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
getMasters() - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
getMasters() - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
getMasterSlaveOption() - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
getMasterSlaveOption() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getMasterSlaveSelect() - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
getMethod() - Method in interface org.aopalliance.intercept.MethodInvocation
Get the method being called.
getModels() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getName() - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
getName() - Method in class com.github.drinkjava2.jdbpro.SqlItem
 
getOperationType() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getOrder() - Method in class com.github.drinkjava2.jdbpro.DefaultOrderSqlHandler
 
getOrder() - Method in interface com.github.drinkjava2.jdbpro.SqlHandler
 
getOthers() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getParameters() - Method in class com.github.drinkjava2.jdbpro.SqlItem
 
getParams() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getParamSize() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getResultSetHandler() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getSlaves() - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
getSlaves() - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
getSql() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getSqlBatchCache() - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
getSqlBuilder() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getSqlHandlers() - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
getSqlHandlers() - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
getSqlHandlers() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getSqlTemplateEngine() - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
getStaticPart() - Method in interface org.aopalliance.intercept.Joinpoint
Return the static part of this joinpoint.
getSwitchTo() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getTemplateEngine() - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
getTemplateEngine() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getTemplateParamMap() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
GetterSetters_________________________() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
getThis() - Method in interface org.aopalliance.intercept.Joinpoint
Return the object that holds the current joinpoint's static part.
getThreadLocalSqlHandlers() - Static method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Get current thread's ThreadLocal SqlHandler
getType() - Method in class com.github.drinkjava2.jdbpro.SqlItem
 
getUseTemplate() - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
giveBoth(String, String) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
globalNextAllowShowSql - Static variable in class com.github.drinkjava2.jdbpro.DbProConfig
 
globalNextBatchSize - Static variable in class com.github.drinkjava2.jdbpro.DbProConfig
 
globalNextConnectionManager - Static variable in class com.github.drinkjava2.jdbpro.DbProConfig
 
globalNextIocTool - Static variable in class com.github.drinkjava2.jdbpro.DbProConfig
 
globalNextLogger - Static variable in class com.github.drinkjava2.jdbpro.DbProConfig
 
globalNextMasterSlaveOption - Static variable in class com.github.drinkjava2.jdbpro.DbProConfig
 
globalNextSqlHandlers - Static variable in class com.github.drinkjava2.jdbpro.DbProConfig
 
globalNextTemplateEngine - Static variable in class com.github.drinkjava2.jdbpro.DbProConfig
 

H

handle(ImprovedQueryRunner, PreparedSQL) - Method in class com.github.drinkjava2.jdbpro.handler.PrintSqlHandler
 
handle(ImprovedQueryRunner, PreparedSQL) - Method in class com.github.drinkjava2.jdbpro.handler.SimpleCacheHandler
 
handle(ResultSet) - Method in class com.github.drinkjava2.jdbpro.handler.TitleArrayListHandler
 
handle(ImprovedQueryRunner, PreparedSQL) - Method in interface com.github.drinkjava2.jdbpro.SqlHandler
handle method is an intercept method, subClass should implement this method

I

iExecute(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Executes the in-line style execute statement
ifNullSetType(SqlOption) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
If current type is null, set with new type value
ifNullSetUseTemplate(Boolean) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
If current type is null, set with new type value
iInsert(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Executes the in-line style insert statement
ImprovedQueryRunner - Class in com.github.drinkjava2.jdbpro
ImprovedQueryRunner made below improvements compare DbUtils's QueryRunner: 1) Override close() and prepareConnection() method of QueryRunner, use a ConnectionManager to manage connection, ConnectionManager can get connection from DataSource or ThreadLocal or some other 3rd party tools like Spring.
ImprovedQueryRunner() - Constructor for class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
ImprovedQueryRunner(DataSource) - Constructor for class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
ImprovedQueryRunner(DataSource, ConnectionManager) - Constructor for class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
info(String) - Method in class com.github.drinkjava2.jdbpro.DbProLogger.DefaultDbProLogger
 
info(String) - Method in interface com.github.drinkjava2.jdbpro.DbProLogger
 
info(String) - Method in class com.github.drinkjava2.jtransactions.tinytx.TinyTxLogger
 
insert(int, T) - Method in class com.github.drinkjava2.jdbpro.LinkStyleArrayList
 
instance() - Static method in class com.github.drinkjava2.jdbpro.template.BasicSqlTemplate
 
instance() - Static method in class com.github.drinkjava2.jtransactions.tinytx.TinyTxConnectionManager
 
INSTANCE - Static variable in class com.github.drinkjava2.jtransactions.tinytx.TinyTxLogger
 
Interceptor - Interface in org.aopalliance.intercept
This interface represents a generic interceptor.
Invocation - Interface in org.aopalliance.intercept
This interface represents an invocation in the program.
invoke(MethodInvocation) - Method in class com.github.drinkjava2.jtransactions.tinytx.TinyTx
 
invoke(MethodInvocation) - Method in interface org.aopalliance.intercept.MethodInterceptor
Implement this method to perform extra treatments before and after the invocation.
ioc(Class<?>...) - Static method in class com.github.drinkjava2.jdbpro.JDBPRO
Create a SqlOption.IOC_OBJECT type SqlItem instance, args will create instance by IocTool
iocTool - Variable in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
An IOC tool is needed if want use SqlMapper style and Annotation has parameters
IocTool - Interface in com.github.drinkjava2.jdbpro
IocTool have a method getBean(Class configClass) to create a bean instance from configClass class, note: result object type may different to configClass itself, that's why here called "configClass", an example can see testGuessAnnotationHasParam() unit test in HandlersTest.java IocTool here is not used for transaction control, but usually can share use the same transaction control IOC tool.
iPrepare(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Prepare a PreparedSQL for iXxxx (Single SQL) style, unknown objects (include null) will automatically looked as SQL pieces, more detail see doPrepare method
iQuery(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Executes the in-line style query statement
iQueryForLongValue(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
In-line style execute query and force return a long value, runtime exception may throw if result can not be cast to long.
iQueryForMapList(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
In-Line style execute query and force return a List> type result.
iQueryForObject(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Execute an In-line style query for an Object, only return the first row and first column's value if more than one column or more than 1 rows returned
iQueryForString(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
In-line style execute query and force return a String object.
isBatchEnabled() - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
isDisabledHandler(Object) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
isEmpty(CharSequence) - Static method in class com.github.drinkjava2.jdbpro.template.BasicSqlTemplate
Checks if a CharSequence is empty ("") or null.
isInTransaction(DataSource) - Method in interface com.github.drinkjava2.jtransactions.ConnectionManager
Check if a connection already be get from given dataSource and be cached as it started a Transaction
isInTransaction(DataSource) - Method in class com.github.drinkjava2.jtransactions.tinytx.TinyTxConnectionManager
 
iUpdate(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Executes the in-line style INSERT, UPDATE, or DELETE statement

J

JDBPRO - Class in com.github.drinkjava2.jdbpro
JDBPRO store some public static methods, usually used for static import to simplify programming
JDBPRO() - Constructor for class com.github.drinkjava2.jdbpro.JDBPRO
 
Joinpoint - Interface in org.aopalliance.intercept
This interface represents a generic runtime joinpoint (in the AOP terminology).

K

keyedHandler - Static variable in class com.github.drinkjava2.jdbpro.SingleTonHandlers
 

L

LinkStyleArrayList<T> - Class in com.github.drinkjava2.jdbpro
AppendableArrayList make ArrayList support link style
LinkStyleArrayList() - Constructor for class com.github.drinkjava2.jdbpro.LinkStyleArrayList
 
listListToArray2D(List<List<?>>) - Static method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Convert Objects List to 2d array for insertBatch use, insertBatch's last parameter is a 2d array, not easy to use
logger - Variable in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 

M

mapHandler - Static variable in class com.github.drinkjava2.jdbpro.SingleTonHandlers
 
mapListHandler - Static variable in class com.github.drinkjava2.jdbpro.SingleTonHandlers
 
masters - Variable in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
masterSlaveOption - Variable in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
MethodInterceptor - Interface in org.aopalliance.intercept
Intercepts calls on an interface on its way to the target.
MethodInvocation - Interface in org.aopalliance.intercept
Description of an invocation to a method, given to an interceptor upon method-call.

N

name - Variable in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
nBatch(String, List<Object[]>) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Execute a batch of SQL INSERT, UPDATE, or DELETE queries.
nBatch(Connection, String, List<Object[]>) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Execute a batch of SQL INSERT, UPDATE, or DELETE queries.
nBatchBegin() - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Start batch sql
nBatchEnd() - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Stop batch sql
nBatchFlush() - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Force flush cached SQLs
nExecute(Connection, String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Execute an statement, including a stored procedure call, which does not return any result sets.
nExecute(Connection, ResultSetHandler<T>, String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Execute an statement, including a stored procedure call, which returns one or more result sets.
nExecute(String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Execute an statement, including a stored procedure call, which does not return any result sets.
nExecute(ResultSetHandler, String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Execute an statement, including a stored procedure call, which returns one or more result sets.
nExecute(String, Object...) - Method in interface com.github.drinkjava2.jdbpro.NormalJdbcTool
Execute an statement, including a stored procedure call, which does not return any result sets.
nInsert(Connection, ResultSetHandler<T>, String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Executes the given INSERT SQL statement.
nInsert(ResultSetHandler, String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Executes the given INSERT SQL statement.
nInsertBatch(String, ResultSetHandler<T>, List<Object[]>) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Executes the given batch of INSERT SQL statements.
nInsertBatch(Connection, String, ResultSetHandler<T>, List<Object[]>) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Executes the given batch of INSERT SQL statements.
NormalJdbcTool - Interface in com.github.drinkjava2.jdbpro
Interface of Normal JDBC methods, this interface is used for other projects to eliminate jar dependency, other projects need copy this interface into there source code folder but always use name "com.github.drinkjava2.jdbpro.NormalJdbcTool"
notNull(Object...) - Static method in class com.github.drinkjava2.jdbpro.JDBPRO
If last param is not null, then add all items in SQL
nQuery(Connection, ResultSetHandler<T>, String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Executes the given SELECT SQL query and returns a result object.
nQuery(ResultSetHandler<T>, String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Executes the given SELECT SQL query and returns a result object.
nQueryForLongValue(Connection, String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Execute query and force return a Long object, no need catch SQLException, runtime exception may throw if result can not be cast to long.
nQueryForLongValue(String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Execute query and force return a Long object, no need catch SQLException, runtime exception may throw if result can not be cast to long
nQueryForMapList(Connection, String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Execute query and force return a List> type result, no need catch SQLException.
nQueryForMapList(String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Execute query and force return a List> type result, no need catch SQLException
nQueryForObject(Connection, String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Query for an Object, only return the first row and first column's value if more than one column or more than 1 rows returned, a null object may return if no result found , DbProRuntimeException may be threw if some SQL operation Exception happen.
nQueryForObject(String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Query for an Object, only return the first row and first column's value if more than one column or more than 1 rows returned, a null object may return if no result found , DbProRuntimeException may be threw if some SQL operation Exception happen.
nQueryForObject(String, Object...) - Method in interface com.github.drinkjava2.jdbpro.NormalJdbcTool
Query for an Object, only return the first row and first column's value if more than one column or more than 1 rows returned, a null object may return if no result found
nQueryForString(Connection, String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Execute query and force return a String object, no need catch SQLException.
nQueryForString(String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Execute query and force return a String object, no need catch SQLException
nUpdate(Connection, String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Executes the given INSERT, UPDATE, or DELETE SQL statement.
nUpdate(String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Executes the given INSERT, UPDATE, or DELETE SQL statement.
nUpdate(String, Object...) - Method in interface com.github.drinkjava2.jdbpro.NormalJdbcTool
Executes the given INSERT, UPDATE, or DELETE SQL statement.

O

objectsListToArray2D(List<Object[]>) - Static method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Convert List List to 2d array for insertBatch use, insertBatch's last parameter is a 2d array, not easy to use
order - Variable in class com.github.drinkjava2.jdbpro.DefaultOrderSqlHandler
 
org.aopalliance.aop - package org.aopalliance.aop
 
org.aopalliance.intercept - package org.aopalliance.intercept
 

P

PackageInfo - Class in com.github.drinkjava2.jdbpro
jDbPro is a separate project has its own Maven central releases.
PackageInfo() - Constructor for class com.github.drinkjava2.jdbpro.PackageInfo
 
PackageInfo - Class in com.github.drinkjava2.jtransactions
jTransactions is a separate project has its own Maven central releases.
PackageInfo() - Constructor for class com.github.drinkjava2.jtransactions.PackageInfo
 
PARA(Object...) - Static method in class com.github.drinkjava2.jdbpro.JDBPRO
Cache parameters in ThreadLocal and return an empty String
PARA0(Object...) - Static method in class com.github.drinkjava2.jdbpro.JDBPRO
Clear all ThreadLocal parameters first, then cache parameters in ThreadLocal and return an empty String, a non parameter param0() call equal to clearAllInlineThreadlocalParams()
param(Object...) - Static method in class com.github.drinkjava2.jdbpro.JDBPRO
Return a SqlItemType.PARAM type SqlItem instance
PARAMS() - Static method in class com.github.drinkjava2.jdbpro.JDBPRO
Build a PreparedSQL instance by given in-line style SQL and parameters stored in ThreadLocal
pExecute(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Executes the pXxxx style execute statement
pInsert(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Executes the pXxxx style insert statement
pPrepare(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Prepare a PreparedSQL for pXxxx (Single SQL) style, pXxxx style only allow single String (The first appeared) as SQL, unknown objects (include null) will automatically looked as SQL parameters, more detail see doPrepare method
pQuery(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Executes the pXxxx style query statement
pQueryForLongValue(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
pXxxx style execute query and force return a long value, runtime exception may throw if result can not be cast to long.
pQueryForMapList(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
pXxxx style execute query and force return a List> type result.
pQueryForObject(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Execute an pXxxx style query for an Object, only return the first row and first column's value if more than one column or more than 1 rows returned
pQueryForString(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
pXxxx style execute query and force return a String object.
prepareCall(Connection, String) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
prepareConnection() - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
PreparedSQL - Class in com.github.drinkjava2.jdbpro
PreparedSQL is a temporary object used for store SQL, parameter, ResultSetHandlers, SqlHandlers, Connection and templateEngine..., it's not thread-safe
PreparedSQL() - Constructor for class com.github.drinkjava2.jdbpro.PreparedSQL
 
PreparedSQL(SqlOption, Connection, ResultSetHandler<?>, String, Object...) - Constructor for class com.github.drinkjava2.jdbpro.PreparedSQL
 
prepareStatement(Connection, String) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
PrintSqlHandler - Class in com.github.drinkjava2.jdbpro.handler
PaginHandler is the AroundSqlHandler used to translate SQL to paginated SQL
PrintSqlHandler() - Constructor for class com.github.drinkjava2.jdbpro.handler.PrintSqlHandler
 
proceed() - Method in interface org.aopalliance.intercept.Joinpoint
Proceed to the next interceptor in the chain.
pUpdate(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Executes the pXxxx style INSERT, UPDATE, or DELETE statement

Q

queryForLongValue(Connection, String, Object...) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Query for a long value
queryForLongValue(String, Object...) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Query for a long value
queryForObject(Connection, String, Object...) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Query for an Object, only return the first row and first column's value if more than one column or more than 1 rows returned, a null object may return if no result found, SQLException may be threw if some SQL operation Exception happen.
queryForObject(String, Object...) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Query for an Object, only return the first row and first column's value if more than one column or more than 1 rows returned, a null object may return if no result found, SQLException may be threw if some SQL operation Exception happen.
QUES(Object...) - Static method in class com.github.drinkjava2.jdbpro.JDBPRO
Cache parameters in ThreadLocal and return a "?" String
QUES0(Object...) - Static method in class com.github.drinkjava2.jdbpro.JDBPRO
Clear all ThreadLocal parameters first, then cache parameters in ThreadLocal, then return a "?" String
question(Object...) - Static method in class com.github.drinkjava2.jdbpro.JDBPRO
Cache parameters and return a "?" String
quiteExecute(String, Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Quite execute a SQL, do not throw any exception, if any exception happen, return -1

R

releaseConnection(Connection, DataSource) - Method in interface com.github.drinkjava2.jtransactions.ConnectionManager
A ConnectionManager implementation determine how to close connection or return connection to ThreadLocal or return to Spring or JTA or some container...
releaseConnection(Connection, DataSource) - Method in class com.github.drinkjava2.jtransactions.tinytx.TinyTxConnectionManager
 
removeEldestEntry(Map.Entry<String, Object>) - Method in class com.github.drinkjava2.jdbpro.handler.SimpleCacheHandler.LRULinkedHashMap
 
render(String, Map<String, Object>, Object[]) - Method in class com.github.drinkjava2.jdbpro.template.BasicSqlTemplate
 
render(String, Map<String, Object>, Object[]) - Method in interface com.github.drinkjava2.jdbpro.template.SqlTemplateEngine
Render a SQL Template String and a Map instance into a PreparedSQL instance
runExecute(PreparedSQL) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Executes the PreparedSQL query statement
runInsert(PreparedSQL) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Executes the PreparedSQL insert statement
runPreparedSQL(PreparedSQL) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
This is the core method of whole project, handle a PreparedSQL instance and return a result
runQuery(PreparedSQL) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Executes the PreparedSQL query statement
runRealSqlMethod(PreparedSQL) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Execute real SQL operation according PreparedSql's SqlType
runUpdate(PreparedSQL) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Executes the PreparedSQL update statement

S

scalarHandler - Static variable in class com.github.drinkjava2.jdbpro.SingleTonHandlers
 
setAliases(String[]) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setAllowShowSQL(Boolean) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Deprecated. 
setAllowSqlSql(Boolean) - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
setBatchSize(Integer) - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
setBatchSize(Integer) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Deprecated. 
setConnection(Connection) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setConnectionManager(ConnectionManager) - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
setConnectionManager(ConnectionManager) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Deprecated. 
setDisabledHandlers(List<Class<?>>) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setEnableLog(boolean) - Static method in class com.github.drinkjava2.jdbpro.DbProLogger.DefaultDbProLogger
 
setEnableLog(boolean) - Static method in class com.github.drinkjava2.jtransactions.tinytx.TinyTxLogger
 
setEntityNet(Object) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setGivesList(List<String[]>) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setGlobalNextAllowShowSql(Boolean) - Static method in class com.github.drinkjava2.jdbpro.DbProConfig
 
setGlobalNextBatchSize(Integer) - Static method in class com.github.drinkjava2.jdbpro.DbProConfig
 
setGlobalNextConnectionManager(ConnectionManager) - Static method in class com.github.drinkjava2.jdbpro.DbProConfig
 
setGlobalNextIocTool(IocTool) - Static method in class com.github.drinkjava2.jdbpro.DbProConfig
 
setGlobalNextLogger(DbProLogger) - Static method in class com.github.drinkjava2.jdbpro.DbProConfig
 
setGlobalNextMasterSlaveOption(SqlOption) - Static method in class com.github.drinkjava2.jdbpro.DbProConfig
 
setGlobalNextSqlHandlers(SqlHandler...) - Static method in class com.github.drinkjava2.jdbpro.DbProConfig
 
setGlobalNextTemplateEngine(SqlTemplateEngine) - Static method in class com.github.drinkjava2.jdbpro.DbProConfig
 
setIgnoreNull(Boolean) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setIocTool(IocTool) - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
setIocTool(IocTool) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Deprecated. 
setLastAliases(String...) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setLogger(DbProLogger) - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
setLogger(DbProLogger) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Deprecated. 
setMasters(DbPro[]) - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
setMasters(DbPro[]) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Deprecated. 
setMasterSlaveOption(SqlOption) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Deprecated. 
setMasterSlaveOption(SqlOption) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setMasterSlaveSelect(SqlOption) - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
setModels(Object[]) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setName(String) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
This method is not thread safe, suggest only use at program starting
setName(String) - Method in class com.github.drinkjava2.jdbpro.SqlItem
 
setOperationType(SqlOption) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setOrder(Integer) - Method in class com.github.drinkjava2.jdbpro.DefaultOrderSqlHandler
 
setOrder(Integer) - Method in interface com.github.drinkjava2.jdbpro.SqlHandler
 
setOthers(List<SqlItem>) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setParameters(Object[]) - Method in class com.github.drinkjava2.jdbpro.SqlItem
 
setParams(Object[]) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setResultSetHandler(ResultSetHandler<?>) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setSlaves(DbPro[]) - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
setSlaves(DbPro[]) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Deprecated. 
setSql(String) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setSqlBuilder(StringBuilder) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setSqlHandlers(SqlHandler[]) - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
setSqlHandlers(SqlHandler[]) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Deprecated. 
setSqlHandlers(List<SqlHandler>) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setSqlTemplateEngine(SqlTemplateEngine) - Method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Deprecated. 
setSwitchTo(DbPro) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setTemplateEngine(SqlTemplateEngine) - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
setTemplateEngine(SqlTemplateEngine) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setTemplateParamMap(Map<String, Object>) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
setThreadLocalSqlHandlers(SqlHandler...) - Static method in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
Set current thread's ThreadLocal SqlHandler
setType(SqlOption) - Method in class com.github.drinkjava2.jdbpro.SqlItem
 
setUseTemplate(Boolean) - Method in class com.github.drinkjava2.jdbpro.PreparedSQL
 
SimpleCacheHandler - Class in com.github.drinkjava2.jdbpro.handler
SimpleCacheHandler is a simple memory cache used to cache SQL query result .
SimpleCacheHandler() - Constructor for class com.github.drinkjava2.jdbpro.handler.SimpleCacheHandler
 
SimpleCacheHandler(int, int) - Constructor for class com.github.drinkjava2.jdbpro.handler.SimpleCacheHandler
 
SimpleCacheHandler.LRULinkedHashMap - Class in com.github.drinkjava2.jdbpro.handler
 
SingleTonHandlers - Class in com.github.drinkjava2.jdbpro
Here store some singleTon thread safe ResultSetHandlers
SingleTonHandlers() - Constructor for class com.github.drinkjava2.jdbpro.SingleTonHandlers
 
slaves - Variable in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
sql(Object...) - Static method in class com.github.drinkjava2.jdbpro.JDBPRO
Cache parameters and return an empty String
SqlHandler - Interface in com.github.drinkjava2.jdbpro
SqlHandler is the Interceptor to do some intercept operation instead of direct access database
sqlHandlers - Variable in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
SqlItem - Class in com.github.drinkjava2.jdbpro
SqlItem store SQL SqlItemType type and value array
SqlItem(String) - Constructor for class com.github.drinkjava2.jdbpro.SqlItem
 
SqlItem(SqlOption, Object...) - Constructor for class com.github.drinkjava2.jdbpro.SqlItem
 
SqlOption - Enum in com.github.drinkjava2.jdbpro
SqlOption system how to explain a SqlItem, SqlItem like "Message" in windows, SqlOption is the "Message" type.
sqlTemplateEngine - Variable in class com.github.drinkjava2.jdbpro.ImprovedQueryRunner
 
SqlTemplateEngine - Interface in com.github.drinkjava2.jdbpro.template
A SqlTemplateEngine render a SQL Template String and a Map into a PreparedSQL instance
startTransaction(DataSource, Connection) - Method in class com.github.drinkjava2.jtransactions.tinytx.TinyTxConnectionManager
 
staticGlobalNextMethods_____________________() - Method in class com.github.drinkjava2.jdbpro.DbProConfig
 
substringAfter(String, String) - Static method in class com.github.drinkjava2.jdbpro.template.BasicSqlTemplate
Gets the substring after the first occurrence of a separator.
substringBefore(String, String) - Static method in class com.github.drinkjava2.jdbpro.template.BasicSqlTemplate
Gets the substring before the first occurrence of a separator.
switchTo(DbPro) - Static method in class com.github.drinkjava2.jdbpro.JDBPRO
Switch to another DbPro

T

tExecute(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Executes the pXxxx style execute statement
threadLocalConnections - Static variable in class com.github.drinkjava2.jtransactions.tinytx.TinyTxConnectionManager
 
tInsert(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Executes the pXxxx style insert statement
TinyTx - Class in com.github.drinkjava2.jtransactions.tinytx
A transaction MethodInterceptor
TinyTx() - Constructor for class com.github.drinkjava2.jtransactions.tinytx.TinyTx
 
TinyTx(DataSource) - Constructor for class com.github.drinkjava2.jtransactions.tinytx.TinyTx
 
TinyTx(DataSource, Integer) - Constructor for class com.github.drinkjava2.jtransactions.tinytx.TinyTx
 
TinyTxConnectionManager - Class in com.github.drinkjava2.jtransactions.tinytx
DataSourceManager determine how to get or release connection from DataSource, it can be different transaction strategies like JDBC/SpringManaged/JTA..
TinyTxConnectionManager() - Constructor for class com.github.drinkjava2.jtransactions.tinytx.TinyTxConnectionManager
 
TinyTxLogger - Class in com.github.drinkjava2.jtransactions.tinytx
For logger output, to avoid logger jar version conflict, default use JDK log, if found commons log, use it, if found Log4j use it..., by this way this project has no dependency to any logger jar.
TinyTxLogger(Class<?>) - Constructor for class com.github.drinkjava2.jtransactions.tinytx.TinyTxLogger
 
TinyTxRuntimeException - Exception in com.github.drinkjava2.jtransactions.tinytx
This TinyTxRuntimeException used to wrap exception to a Runtime type Exception
TinyTxRuntimeException() - Constructor for exception com.github.drinkjava2.jtransactions.tinytx.TinyTxRuntimeException
 
TinyTxRuntimeException(Throwable) - Constructor for exception com.github.drinkjava2.jtransactions.tinytx.TinyTxRuntimeException
 
TinyTxRuntimeException(String) - Constructor for exception com.github.drinkjava2.jtransactions.tinytx.TinyTxRuntimeException
 
TinyTxRuntimeException(String, Throwable) - Constructor for exception com.github.drinkjava2.jtransactions.tinytx.TinyTxRuntimeException
 
TitleArrayListHandler - Class in com.github.drinkjava2.jdbpro.handler
TitledArrayResultHandler transfer ResultSet to a List of Object[], first row is titles, other rows are data
TitleArrayListHandler() - Constructor for class com.github.drinkjava2.jdbpro.handler.TitleArrayListHandler
 
titleArrayListHandler - Static variable in class com.github.drinkjava2.jdbpro.SingleTonHandlers
 
toArray(ResultSet, int) - Method in class com.github.drinkjava2.jdbpro.handler.TitleArrayListHandler
 
toObjectArray() - Method in class com.github.drinkjava2.jdbpro.LinkStyleArrayList
 
tQuery(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Executes the pXxxx style query statement
tQueryForLongValue(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
pXxxx style execute query and force return a long value, runtime exception may throw if result can not be cast to long.
tQueryForMapList(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
pXxxx style execute query and force return a List> type result.
tQueryForObject(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Execute an pXxxx style query for an Object, only return the first row and first column's value if more than one column or more than 1 rows returned
tQueryForString(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
pXxxx style execute query and force return a String object.
tUpdate(Object...) - Method in class com.github.drinkjava2.jdbpro.DbPro
Executes the pXxxx style INSERT, UPDATE, or DELETE statement

U

USE_AUTO - Static variable in class com.github.drinkjava2.jdbpro.JDBPRO
 
USE_BOTH - Static variable in class com.github.drinkjava2.jdbpro.JDBPRO
 
USE_MASTER - Static variable in class com.github.drinkjava2.jdbpro.JDBPRO
 
USE_SLAVE - Static variable in class com.github.drinkjava2.jdbpro.JDBPRO
 
USE_TEMPLATE - Static variable in class com.github.drinkjava2.jdbpro.JDBPRO
 

V

valueOf(String) - Static method in enum com.github.drinkjava2.jdbpro.SqlOption
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.drinkjava2.jdbpro.SqlOption
Returns an array containing the constants of this enum type, in the order they are declared.
VALUESQUES() - Static method in class com.github.drinkjava2.jdbpro.JDBPRO
Create "values(?,?,?...,?)" String according how many SQL parameters be cached in ThreadLocal
valuesQuestions() - Static method in class com.github.drinkjava2.jdbpro.JDBPRO
Create "values(?,?,?...,?)" String according how many SQL parameters be cached

W

warn(String) - Method in class com.github.drinkjava2.jdbpro.DbProLogger.DefaultDbProLogger
 
warn(String) - Method in interface com.github.drinkjava2.jdbpro.DbProLogger
 
warn(String) - Method in class com.github.drinkjava2.jtransactions.tinytx.TinyTxLogger
 

_

________INLINE_Methods________() - Method in class com.github.drinkjava2.jdbpro.JDBPRO
 
________iXxxxStyles________() - Method in class com.github.drinkjava2.jdbpro.DbPro
 
________nXxxxStyles________() - Method in class com.github.drinkjava2.jdbpro.DbPro
nXxxx style series methods are design to replace QueryRunner's xxxx method, the difference is nXxxx methods do not throw SqlException
________prepareMethods________() - Method in class com.github.drinkjava2.jdbpro.DbPro
 
________pXxxxStyles________() - Method in class com.github.drinkjava2.jdbpro.DbPro
 
________SqlItem_Methods________() - Method in class com.github.drinkjava2.jdbpro.JDBPRO
 
________tXxxxStyles________() - Method in class com.github.drinkjava2.jdbpro.DbPro
 

A B C D E F G H I J K L M N O P Q R S T U V W _

Copyright © 2018. All rights reserved.