Package com.github.drinkjava2.jdbpro

Interface Summary
ClassTranslator ClassTranslator translator a class item into real SqlItem.
CustomizedSqlItem Sql Operation Type
DbProLogger 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.
NormalJdbcTool Interface of Normal JDBC methods, this interface is a bridge between jDbPro and jTransactions to eliminate jar dependency, other projects need copy this interface into there source code folder but always use name "com.github.drinkjava2.jdbpro.NormalJdbcTool"
SqlHandler SqlHandler is the Interceptor to do some intercept operation instead of direct access database
 

Class Summary
DbPro DbPro is the enhanced version of Apache Commons DbUtils's QueryRunner, add below improvements:
DbProLogger.DefaultDbProLogger  
DefaultOrderSqlHandler SqlHandler is the Interceptor to do some intercept operation instead of direct access database
ImprovedQueryRunner 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.
JDBPRO JDBPRO store some public static methods, usually used for static import to simplify programming
LinkStyleArrayList<T> AppendableArrayList make ArrayList support link style
PackageInfo jDbPro is a separate project has its own Maven central releases.
PreparedSQL PreparedSQL is a temporary object used for store SQL, parameter, ResultSetHandlers, SqlHandlers, Connection and templateEngine..., it's not thread-safe
SingleTonHandlers Here store some singleTon thread safe ResultSetHandlers
SqlItem SqlItem store SQL SqlItemType type and value array
Text Child class extended from Text support multiple line String.
TextUtils TextUtils is used to read Java source file from sources folder, usage: String src=TextUtils.getJavaSourceCode(Foo.class, "UTF-8"); To use this function need copy java src file into resources folder or set a plug-in in pom.xml, detail see jSqlBox's documents
 

Enum Summary
SqlOption SqlOption system how to explain a SqlItem, SqlItem like "Message" in windows, SqlOption is the "Message" type.
 

Exception Summary
DbProRuntimeException This DbProRuntimeException only used to wrap a SQLException to a Runtime type Exception to avoid each time to catch annoying SQLException.
 



Copyright © 2018. All rights reserved.