public abstract class AbstractTableStructure extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
charset |
protected List<String> |
ColumnKeys |
protected List<String> |
ColumnNames |
protected List<String> |
CompleteTypes |
protected static String |
createTableQuery |
protected static String |
createTableQueryElement |
protected String |
databaseName |
protected static String |
defaultTableQueryElement |
protected List<String> |
DefaultValues |
protected List<String> |
ForeignKeys |
protected static String |
foreignKeyStatement |
protected List<String> |
Indexes |
protected List<Boolean> |
IsNullables |
protected static String |
primaryKeyStatement |
protected String |
tableName |
protected List<Integer> |
TypesLengths |
protected List<String> |
TypesList |
protected List<String> |
UniqueKeys |
protected static String |
uniqueKeyStatement |
| Constructor and Description |
|---|
AbstractTableStructure(String Databasename,
String TableName,
org.hibernate.SessionFactory dbSession) |
AbstractTableStructure(String Databasename,
String TableName,
org.hibernate.SessionFactory dbSession,
boolean buildStructure) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
buildStructure(org.hibernate.SessionFactory dbSession) |
String |
buildUpCreateTable() |
protected abstract String |
getQueryForIndexes(org.hibernate.SessionFactory dbSession) |
protected abstract String |
getQueryForTableStructure(org.hibernate.SessionFactory dbSession) |
protected String databaseName
protected String charset
protected String tableName
protected static String createTableQueryElement
protected static String defaultTableQueryElement
protected static String createTableQuery
protected static String primaryKeyStatement
protected static String uniqueKeyStatement
protected static String foreignKeyStatement
public AbstractTableStructure(String Databasename, String TableName, org.hibernate.SessionFactory dbSession, boolean buildStructure) throws Exception
Exceptionprotected abstract void buildStructure(org.hibernate.SessionFactory dbSession)
throws Exception
Exceptionprotected abstract String getQueryForTableStructure(org.hibernate.SessionFactory dbSession) throws Exception
Exceptionprotected abstract String getQueryForIndexes(org.hibernate.SessionFactory dbSession) throws Exception
Exceptionpublic String buildUpCreateTable()
Copyright © 2014. All Rights Reserved.