Package com.github.drinkjava2.jdialects

Interface Summary
CommonDialect Interface for Dialect, usually used to eliminate POM dependency for other projects
 

Class Summary
ClassCacheUtils ClassCacheUtils is utility class to cache some info of classes read and write method
ClassCacheUtils.ClassOrMethodNotExist  
DDLCreateUtils To transfer platform-independent model to create DDL String array
DDLDropUtils To transfer platform-independent model to drop DDL String array
DDLFeatures DDL about features, this file is generated by source code generator (see jDiagen project) from Hibernate5.2.9 final
DebugUtils DebugUtils only for debug, will delete it
DialectFunctionTemplate Initialise function templates, this file is generated by source code generator (see jDiagen project) by extracting from Hibernate5.2.9, and delete some not common functions (<20% percent dialect support), do not modify this file manually
DialectFunctionTranslator TranslateUtil parse a Sql, translate all universal functions like fn_sin() to native SQL functions like sin()
DialectFunctionTranslator.SqlItem Item type can be:
S:String, F:function, U:Unknow(need correct), ",":","
DialectFunctionUtils Dialect function Utils, detail see render method
DialectLogger 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.
DialectPaginationTemplate Initialize pagination templates, this file is generated by source code generator by extracting from Hibernate5.2.9
DialectTypeMappingTemplate Initialize type mapping, this file is generated by source code generator by extracting from Hibernate5.2.9
GuessDialectUtils Guess Dialect Utils
ReservedDBWords Collect reserved words of all databases, keywords not included
StrUtils String Utilities usually used inside of framework
TableModelUtils This utility tool should have below methods: entity2Model() method: Convert 1 entity class or annotated entity class to TableModel Objects entity2Models() method: Convert entity classes or annotated entity classes to TableModel Objects db2Models() method: Convert JDBC database to TableModels Models2Excel() method: Convert TableModel Objects to Excel CSV format text excel2Models() method: Convert Excel CSV format text to TableModel Objects Models2EntitySrc method: Convert TableModel Object to Annotated entity class Java Source code Model2ModelSrc method: Convert TableModel Objects to Java configuration, for example: TableModel t= new TableModel("tb"), t.column("col").LONG()...
TableModelUtilsOfDb The tool to convert database structure(meta data) to TableModels
TableModelUtilsOfEntity The tool to convert entity classes to TableModels
TypeUtils SQL Type definitions
 

Enum Summary
Dialect jDialects is a small Java tool collect all databases' dialect, most data are extracted from Hibernate, usually jDialects is used for build pagination SQL and DDL SQL for cross-databases developing.
Type SQL Type definitions
 

Exception Summary
DialectException DialectException for jDialects
 



Copyright © 2018. All rights reserved.