Package org.apache.empire.db.generic
Class TDatabase<DB extends TDatabase<DB>>
java.lang.Object
org.apache.empire.db.DBObject
org.apache.empire.db.DBDatabase
org.apache.empire.db.generic.TDatabase<DB>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.empire.db.DBDatabase
DBDatabase.DBSystemDate -
Field Summary
Fields inherited from class org.apache.empire.db.DBDatabase
dbms, EMPTY_STRING, legacyDate, relations, rowsetAliasMap, SYSDATE, tables, views -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new DBDatabase object set the variable 'schema' = null.Constructs a new DBDatabase object and sets the specified schema object.Constructs a new DBDatabase object and sets the specified schema object. -
Method Summary
Methods inherited from class org.apache.empire.db.DBDatabase
addRelation, addRelation, addRelation, addRowsetToAliasMap, addTable, addView, appendQualifiedName, caseMap, caseMap, caseMap, caseWhen, caseWhen, caseWhenNull, checkExists, checkOpen, close, createCommand, detectDataType, discard, findByClass, findByIdentifier, findRelationsOn, generateDDLScript, getAllRowSets, getColumnJavaType, getCreateDDLScript, getDbms, getDefaultIdentifier, getIdentifier, getIgnoreCaseExpr, getLinkName, getNullExpr, getParamExpr, getRelation, getRelations, getRowSet, getRowSetByAlias, getSchema, getSchemaPrefix, getSystemDateExpr, getTable, getTables, getValueExpr, getValueExpr, getValueExpr, getValueExpr, getValueExpr, getValueExpr, getView, getViews, isOpen, isPreparedStatementsEnabled, isSameRowSet, open, register, removeRelation, removeRowsetFromAliasMap, removeTable, removeView, setLinkName, setPreparedStatementsEnabled, setSchema, validateNumber, validateString, validateValueMethods inherited from class org.apache.empire.db.DBObject
checkParamNull
-
Constructor Details
-
TDatabase
Constructs a new DBDatabase object and sets the specified schema object.- Parameters:
schema- the database schemalinkName- the database link name
-
TDatabase
Constructs a new DBDatabase object and sets the specified schema object.- Parameters:
schema- the database schema
-
TDatabase
public TDatabase()Constructs a new DBDatabase object set the variable 'schema' = null.
-
-
Method Details
-
getDatabase
finally we know the database type- Overrides:
getDatabasein classDBDatabase- Returns:
- the database object
- See Also:
-