|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpox.store.rdbms.table.AbstractTable
org.jpox.store.rdbms.table.TableImpl
org.jpox.store.rdbms.table.ProbeTable
Utility class used for detecting database schema existence and provides means of determining the schema name.
Field Summary |
Fields inherited from class org.jpox.store.rdbms.table.AbstractTable |
columns, columnsByName, dba, ddlDumpWriter, identifier, LOCALISER, state, storeMgr |
Fields inherited from interface org.jpox.store.rdbms.table.Table |
TABLE_STATE_INITIALIZED, TABLE_STATE_INITIALIZED_MODIFIED, TABLE_STATE_NEW, TABLE_STATE_PK_INITIALIZED, TABLE_STATE_VALIDATED, TABLE_TYPE_MISSING, TABLE_TYPE_TABLE, TABLE_TYPE_UNKNOWN, TABLE_TYPE_VIEW |
Constructor Summary | |
ProbeTable(RDBMSManager storeMgr)
Constructor |
Method Summary | |
protected boolean |
allowDdlDump()
Override to always really create ProbeTables in the DB. |
java.lang.String[] |
findSchemaDetails(java.sql.Connection conn)
Accessor for the Schema details. |
JavaTypeMapping |
getFieldMapping(AbstractPropertyMetaData fmd)
Accessor the for the mapping for a field store in this table |
JavaTypeMapping |
getIDMapping()
Accessor for a mapping for the ID (PersistenceCapable) for this table. |
void |
initialize(ClassLoaderResolver clr)
Method to initialise the table. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ProbeTable(RDBMSManager storeMgr)
storeMgr
- The RDBMSManager for this datastoreMethod Detail |
public void initialize(ClassLoaderResolver clr)
clr
- The ClassLoaderResolverpublic JavaTypeMapping getIDMapping()
public java.lang.String[] findSchemaDetails(java.sql.Connection conn) throws java.sql.SQLException
conn
- Connection for this datastore.
java.sql.SQLException
- Thrown when an error occurs in the process.protected boolean allowDdlDump()
allowDdlDump
in class AbstractTable
AbstractTable.allowDdlDump()
public JavaTypeMapping getFieldMapping(AbstractPropertyMetaData fmd)
fmd
- MetaData for the field whose mapping we want
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |