public class H2DDLGenerator extends DBDDLGenerator<DBDatabaseDriverH2>
alterColumnPhrase, databaseObjectName, DATATYPE_BLOB, DATATYPE_BOOLEAN, DATATYPE_CHAR, DATATYPE_CLOB, DATATYPE_DATE, DATATYPE_DECIMAL, DATATYPE_FLOAT, DATATYPE_INT_BIG, DATATYPE_INT_SMALL, DATATYPE_INTEGER, DATATYPE_TIMESTAMP, DATATYPE_UNIQUEID, DATATYPE_VARCHAR, driver, namePrimaryKeyConstraint
Constructor and Description |
---|
H2DDLGenerator(DBDatabaseDriverH2 driver) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
appendColumnDataType(DataType type,
double size,
DBTableColumn c,
StringBuilder sql)
appends the data type of a column
|
addAlterTableStmt, addCreateIndexStmt, addCreateRelationStmt, addCreateTableStmt, addCreateViewStmt, alterTable, appendColumnDesc, appendElementName, createDatabase, createIndex, createRelation, createTable, createTableIndexes, createView, detectQuoteName, dropDatabase, dropObject, getDDLScript
public H2DDLGenerator(DBDatabaseDriverH2 driver)
protected boolean appendColumnDataType(DataType type, double size, DBTableColumn c, StringBuilder sql)
DBDDLGenerator
appendColumnDataType
in class DBDDLGenerator<DBDatabaseDriverH2>
type
- the typesize
- the sizesql
- the builder that we will append toCopyright © 2008–2018 Apache Software Foundation. All rights reserved.