org.apache.empire.db.sqlite
Class SQLiteDDLGenerator
java.lang.Object
org.apache.empire.db.DBDDLGenerator<DBDatabaseDriverSQLite>
org.apache.empire.db.sqlite.SQLiteDDLGenerator
public class SQLiteDDLGenerator
- extends DBDDLGenerator<DBDatabaseDriverSQLite>
Fields inherited from class org.apache.empire.db.DBDDLGenerator |
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 |
Methods inherited from class org.apache.empire.db.DBDDLGenerator |
addAlterTableStmt, addCreateIndexStmt, addCreateRelationStmt, addCreateTableStmt, addCreateViewStmt, alterTable, appendColumnDataType, appendColumnDesc, appendElementName, createDatabase, createIndex, createTableIndexes, createView, detectQuoteName, dropDatabase, dropObject, getDDLScript |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLiteDDLGenerator
public SQLiteDDLGenerator(DBDatabaseDriverSQLite driver)
createTable
protected void createTable(DBTable t,
DBSQLScript script)
- Description copied from class:
DBDDLGenerator
- Appends the DDL-Script for creating the given table to an SQL-Script
- Overrides:
createTable
in class DBDDLGenerator<DBDatabaseDriverSQLite>
- Parameters:
t
- the table to createscript
- the sql script to which to append the dll command(s)
createRelation
protected void createRelation(DBRelation r,
DBSQLScript script)
- Description copied from class:
DBDDLGenerator
- Appends the DDL-Script for creating the given foreign-key relation to an SQL-Script
- Overrides:
createRelation
in class DBDDLGenerator<DBDatabaseDriverSQLite>
- Parameters:
r
- the relation to createscript
- the sql script to which to append the dll command(s)
Copyright © 2008–2014 Apache Software Foundation. All rights reserved.