public class SQLiteDDLGenerator extends DBDDLGenerator<DBDatabaseDriverSQLite>
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 |
---|
SQLiteDDLGenerator(DBDatabaseDriverSQLite driver) |
Modifier and Type | Method and Description |
---|---|
protected void |
createRelation(DBRelation r,
DBSQLScript script)
Appends the DDL-Script for creating the given foreign-key relation to an SQL-Script
|
protected void |
createTable(DBTable t,
DBSQLScript script)
Appends the DDL-Script for creating the given table to an SQL-Script
|
addAlterTableStmt, addCreateIndexStmt, addCreateRelationStmt, addCreateTableStmt, addCreateViewStmt, alterTable, appendColumnDataType, appendColumnDesc, appendElementName, createDatabase, createIndex, createTableIndexes, createView, detectQuoteName, dropDatabase, dropObject, getDDLScript
public SQLiteDDLGenerator(DBDatabaseDriverSQLite driver)
protected void createTable(DBTable t, DBSQLScript script)
DBDDLGenerator
createTable
in class DBDDLGenerator<DBDatabaseDriverSQLite>
t
- the table to createscript
- the sql script to which to append the dll command(s)protected void createRelation(DBRelation r, DBSQLScript script)
DBDDLGenerator
createRelation
in class DBDDLGenerator<DBDatabaseDriverSQLite>
r
- the relation to createscript
- the sql script to which to append the dll command(s)Copyright © 2008–2022 Apache Software Foundation. All rights reserved.