Package com.github.drinkjava2.jsqlbox

Interface Summary
ActiveRecordSupport<T> If a entity class implements ActiveRecordSupport interface, it will have CRUD Method.
SqlMapperGuesser Guess and execute the SQL for a annotated ActiveRecord entity's method
 

Class Summary
ActiveRecord<T> Entity class extended from ActiveRecord or implements ActiveRecordSupport interface will get CRUD methods, see below difference in jSqlBox to save ActiveRecord entity and normal entity(POJO) into database:
JSQLBOX JSQLBOX store some public static methods, usually used for static import to simplify programming
SqlBoxContext SqlBoxContext is extended from DbPro, DbPro is extended from QueryRunner, by this way SqlBoxContext have all JDBC methods of QueryRunner and DbPro.
SqlBoxContextConfig SqlBoxContextConfig class is used to store constructor parameters for build SqlBoxContext
SqlBoxContextUtils SqlBoxContextUtils is utility class store static methods about SqlBoxContext
SqlMapperDefaultGuesser Guess and execute the SQL for a annotated ActiveRecord entity's method
SqlMapperUtils Store some public static methods of Guesser
TextUtils TextUtils is used to read Java source file from sources folder, usuage: String src=TextUtils.getJavaSourceCode(Foo.class, "UTF-8"); To use this function need copy java src file into resources folder or set a plugin in pom.xml, detail see jSqlBox documents
 

Exception Summary
SqlBoxException This SqlBoxException used to wrap exception to a Runtime type Exception
 



Copyright © 2018. All rights reserved.