Uses of Class
org.apache.empire.db.DBSQLScript
Packages that use DBSQLScript
Package
Description
This package contains the core Empire-DB implementation classes.
This package contains classes necessary to support the Apache Derby database system.
This package contains classes necessary to support the H2 database system.
This package contains classes necessary to support the HSQLDB database system.
This package contains classes necessary to support the MySQL database system.
This package contains classes necessary to support the Oracle database system.
This package contains classes necessary to support the PostgreSQL database system.
This package contains classes necessary to support the Microsoft SQL-Server database system.
-
Uses of DBSQLScript in org.apache.empire.db
Methods in org.apache.empire.db with parameters of type DBSQLScriptModifier and TypeMethodDescriptionprotected voidDBDDLGenerator.addAlterTableStmt(DBColumn col, DBSQLBuilder sql, DBSQLScript script) protected voidDBDDLGenerator.addCreateIndexStmt(DBIndex index, DBSQLBuilder sql, DBSQLScript script) protected voidDBDDLGenerator.addCreateRelationStmt(DBRelation rel, DBSQLBuilder sql, DBSQLScript script) protected voidDBDDLGenerator.addCreateTableStmt(DBTable table, DBSQLBuilder sql, DBSQLScript script) protected voidDBDDLGenerator.addCreateViewStmt(DBView v, DBSQLBuilder sql, DBSQLScript script) protected voidDBDDLGenerator.alterTable(DBTableColumn col, DBDDLGenerator.DDLActionType type, DBSQLScript script) Appends the DDL-Script for altering a table to an SQL-Scriptprotected voidDBDDLGenerator.createDatabase(DBDatabase db, DBSQLScript script) Appends the DDL-Script for creating the given database to an SQL-Script
This includes the generation of all tables, views and relations.protected voidDBDDLGenerator.createIndex(DBTable t, DBIndex index, DBSQLScript script) Appends the DDL-Script for creating a single index to an SQL-Scriptprotected voidDBDDLGenerator.createRelation(DBRelation r, DBSQLScript script) Appends the DDL-Script for creating the given foreign-key relation to an SQL-Scriptprotected voidDBDDLGenerator.createTable(DBTable t, DBSQLScript script) Appends the DDL-Script for creating the given table to an SQL-Scriptprotected voidDBDDLGenerator.createTableIndexes(DBTable t, DBIndex pk, DBSQLScript script) Appends the DDL-Script for creating all indexes of table (except the primary key) to an SQL-Scriptprotected voidDBDDLGenerator.createView(DBView v, DBSQLScript script) Appends the DDL-Script for creating the given view to an SQL-Scriptprotected voidDBDDLGenerator.dropDatabase(DBDatabase db, DBSQLScript script) Appends the DDL-Script for dropping a database to the given script objectprotected voidDBDDLGenerator.dropObject(String schema, String name, String objType, DBSQLScript script) Appends the DDL-Script for dropping a database object to an SQL-Scriptprotected voidDBDatabase.generateDDLScript(DBSQLScript script) Override this to change or add DDL commandsvoidDBDatabase.getCreateDDLScript(DBSQLScript script) Creates a DDL Script for creating all database objects on the target database.
This function may be called even if the database has not been previously opened.voidDBDDLGenerator.getDDLScript(DBDDLGenerator.DDLActionType type, DBObject dbo, DBSQLScript script) Appends the required DLL commands to create, drop or alter an object to the supplied DBDQLScript. -
Uses of DBSQLScript in org.apache.empire.dbms
Methods in org.apache.empire.dbms with parameters of type DBSQLScriptModifier and TypeMethodDescriptionvoidDBMSHandler.appendEnableRelationStmt(DBRelation r, boolean enable, DBSQLScript script) Appends a statement to enable or disable a foreign key relation.
The default is to drop or create the relation Override this method to provide different behavior for your database.voidDBMSHandlerBase.appendEnableRelationStmt(DBRelation r, boolean enable, DBSQLScript script) Appends a statement to enable or disable a foreign key relation.
The default is to drop or create the relation Override this method to provide different behavior for your database.voidDBMSHandler.getDDLScript(DBDDLGenerator.DDLActionType type, DBObject dbo, DBSQLScript script) Appends the required DLL commands to create, drop or alter an object to the supplied DBDQLScript. -
Uses of DBSQLScript in org.apache.empire.dbms.derby
Methods in org.apache.empire.dbms.derby with parameters of type DBSQLScriptModifier and TypeMethodDescriptionvoidDBMSHandlerDerby.getDDLScript(DBDDLGenerator.DDLActionType type, DBObject dbo, DBSQLScript script) -
Uses of DBSQLScript in org.apache.empire.dbms.h2
Methods in org.apache.empire.dbms.h2 with parameters of type DBSQLScriptModifier and TypeMethodDescriptionvoidDBMSHandlerH2.getDDLScript(DBDDLGenerator.DDLActionType type, DBObject dbo, DBSQLScript script) -
Uses of DBSQLScript in org.apache.empire.dbms.hsql
Methods in org.apache.empire.dbms.hsql with parameters of type DBSQLScriptModifier and TypeMethodDescriptionprotected voidHSqlDDLGenerator.createDatabase(DBDatabase db, DBSQLScript script) protected voidHSqlDDLGenerator.createSequence(DBDatabase db, DBTableColumn column, DBSQLScript script) Appends the DDL-Script for creating a sequence to an SQL-ScriptvoidDBMSHandlerHSql.getDDLScript(DBDDLGenerator.DDLActionType type, DBObject dbo, DBSQLScript script) voidHSqlDDLGenerator.getDDLScript(DBDDLGenerator.DDLActionType type, DBObject dbo, DBSQLScript script) -
Uses of DBSQLScript in org.apache.empire.dbms.mysql
Methods in org.apache.empire.dbms.mysql with parameters of type DBSQLScriptModifier and TypeMethodDescriptionprotected voidMySQLDDLGenerator.createDatabase(DBDatabase db, DBSQLScript script) protected voidMySQLDDLGenerator.createTable(DBTable t, DBSQLScript script) Appends the DDL-Script for creating the given table to an SQL-Scriptprotected voidMySQLDDLGenerator.createView(DBView v, DBSQLScript script) Appends the DDL-Script for creating the given view to an SQL-ScriptvoidDBMSHandlerMySQL.getDDLScript(DBDDLGenerator.DDLActionType type, DBObject dbo, DBSQLScript script) -
Uses of DBSQLScript in org.apache.empire.dbms.oracle
Methods in org.apache.empire.dbms.oracle with parameters of type DBSQLScriptModifier and TypeMethodDescriptionprotected voidOracleDDLGenerator.addCreateIndexStmt(DBIndex index, DBSQLBuilder sql, DBSQLScript script) protected voidOracleDDLGenerator.addCreateTableStmt(DBTable table, DBSQLBuilder sql, DBSQLScript script) protected voidOracleDDLGenerator.addCreateViewStmt(DBView v, DBSQLBuilder sql, DBSQLScript script) voidDBMSHandlerOracle.appendEnableRelationStmt(DBRelation r, boolean enable, DBSQLScript script) protected voidOracleDDLGenerator.createComment(DBDatabase db, String type, DBExpr expr, String comment, DBSQLScript script) protected voidOracleDDLGenerator.createDatabase(DBDatabase db, DBSQLScript script) protected voidOracleDDLGenerator.createSequence(DBDatabase db, DBTableColumn column, DBSQLScript script) Returns true if the sequence has been created successfully.protected voidOracleDDLGenerator.createTable(DBTable t, DBSQLScript script) protected voidOracleDDLGenerator.dropDatabase(DBDatabase db, DBSQLScript script) voidDBMSHandlerOracle.getDDLScript(DBDDLGenerator.DDLActionType type, DBObject dbo, DBSQLScript script) voidOracleDDLGenerator.getDDLScript(DBDDLGenerator.DDLActionType type, DBObject dbo, DBSQLScript script) -
Uses of DBSQLScript in org.apache.empire.dbms.postgresql
Methods in org.apache.empire.dbms.postgresql with parameters of type DBSQLScriptModifier and TypeMethodDescriptionprotected voidPostgresDDLGenerator.createDatabase(DBDatabase db, DBSQLScript script) protected voidPostgresDDLGenerator.createSequence(DBDatabase db, DBTableColumn column, DBSQLScript script) Appends the DDL-Script for creating a sequence to an SQL-ScriptvoidDBMSHandlerPostgreSQL.getDDLScript(DBDDLGenerator.DDLActionType type, DBObject dbo, DBSQLScript script) -
Uses of DBSQLScript in org.apache.empire.dbms.sqlite
Methods in org.apache.empire.dbms.sqlite with parameters of type DBSQLScriptModifier and TypeMethodDescriptionprotected voidSQLiteDDLGenerator.createRelation(DBRelation r, DBSQLScript script) protected voidSQLiteDDLGenerator.createTable(DBTable t, DBSQLScript script) voidDBMSHandlerSQLite.getDDLScript(DBDDLGenerator.DDLActionType type, DBObject dbo, DBSQLScript script) -
Uses of DBSQLScript in org.apache.empire.dbms.sqlserver
Methods in org.apache.empire.dbms.sqlserver with parameters of type DBSQLScriptModifier and TypeMethodDescriptionprotected voidMSSqlDDLGenerator.addCreateIndexStmt(DBIndex index, DBSQLBuilder sql, DBSQLScript script) protected voidMSSqlDDLGenerator.addCreateViewStmt(DBView v, DBSQLBuilder sql, DBSQLScript script) voidDBMSHandlerMSSQL.appendEnableRelationStmt(DBRelation r, boolean enable, DBSQLScript script) protected voidMSSqlDDLGenerator.createDatabase(DBDatabase db, DBSQLScript script) voidDBMSHandlerMSSQL.getDDLScript(DBDDLGenerator.DDLActionType type, DBObject dbo, DBSQLScript script) voidMSSqlDDLGenerator.getDDLScript(DBDDLGenerator.DDLActionType type, DBObject dbo, DBSQLScript script)