DBInfo

information about DB structure generated from HibernateD entity metadata

Constructors

this
this(Dialect dialect, EntityMetaData metaData)
Undocumented in source.

Members

Functions

add
void add(TableInfo table)
Undocumented in source. Be warned that the author may not have intended to support it.
find
TableInfo find(string tableName)
Undocumented in source. Be warned that the author may not have intended to support it.
get
TableInfo get(string tableName)
Undocumented in source. Be warned that the author may not have intended to support it.
getCreateIndexSQL
string[] getCreateIndexSQL(string[] existingTables)
Undocumented in source. Be warned that the author may not have intended to support it.
getCreateTableSQL
string[] getCreateTableSQL(string[] existingTables)
Undocumented in source. Be warned that the author may not have intended to support it.
getDropTableSQL
string[] getDropTableSQL(string[] existingTables)
Undocumented in source. Be warned that the author may not have intended to support it.
getExistingTables
string[] getExistingTables(Connection conn)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
TableInfo opIndex(string tableName)
Undocumented in source. Be warned that the author may not have intended to support it.
updateDBSchema
void updateDBSchema(Connection conn, bool dropTables, bool createTables)

drop and/or create tables and indexes in DB using specified connection

Variables

dialect
Dialect dialect;
Undocumented in source.
hasCircularRefs
bool hasCircularRefs;
Undocumented in source.
metaData
EntityMetaData metaData;
Undocumented in source.
tableNameMap
TableInfo[string] tableNameMap;
Undocumented in source.
tables
TableInfo[] tables;
Undocumented in source.

Meta