|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.rdbms.table.AbstractTable
org.datanucleus.store.rdbms.table.TableImpl
org.datanucleus.store.rdbms.table.ProbeTable
public class ProbeTable
Utility class used for detecting database schema existence and provides means of determining the schema name.
| Field Summary |
|---|
| Fields inherited from class org.datanucleus.store.rdbms.table.AbstractTable |
|---|
columns, columnsByName, dba, existsInDatastore, identifier, LOCALISER, state, storeMgr, TABLE_STATE_INITIALIZED, TABLE_STATE_INITIALIZED_MODIFIED, TABLE_STATE_NEW, TABLE_STATE_PK_INITIALIZED, TABLE_STATE_VALIDATED |
| Constructor Summary | |
|---|---|
ProbeTable(RDBMSStoreManager storeMgr)
Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
allowDDLOutput()
Override to always really create ProbeTables in the DB. |
String[] |
findSchemaDetails(Connection conn)
Accessor for the Schema details. |
org.datanucleus.store.mapped.mapping.JavaTypeMapping |
getIdMapping()
Accessor for a mapping for the ID (PersistenceCapable) for this table. |
org.datanucleus.store.mapped.mapping.JavaTypeMapping |
getMemberMapping(org.datanucleus.metadata.AbstractMemberMetaData mmd)
Accessor the for the mapping for a field/property stored in this table. |
void |
initialize(org.datanucleus.ClassLoaderResolver clr)
Method to initialise the table. |
| Methods inherited from class org.datanucleus.store.rdbms.table.TableImpl |
|---|
createConstraints, dropConstraints, getExpectedCandidateKeys, getExpectedForeignKeys, getExpectedIndices, getPrimaryKey, getSQLAddCandidateKeyStatements, getSQLAddFKStatements, getSQLCreateIndexStatements, getSQLCreateStatements, getSQLDropStatements, initializeColumnInfoForPrimaryKeyColumns, initializeColumnInfoFromDatastore, postInitialize, preInitialize, validate, validateColumns, validateConstraints, validatePrimaryKey |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProbeTable(RDBMSStoreManager storeMgr)
storeMgr - The RDBMSManager for this datastore| Method Detail |
|---|
public void initialize(org.datanucleus.ClassLoaderResolver clr)
clr - The ClassLoaderResolverpublic org.datanucleus.store.mapped.mapping.JavaTypeMapping getIdMapping()
public String[] findSchemaDetails(Connection conn)
throws SQLException
conn - Connection for this datastore.
SQLException - Thrown when an error occurs in the process.protected boolean allowDDLOutput()
allowDDLOutput in class AbstractTableAbstractTable.allowDDLOutput()public org.datanucleus.store.mapped.mapping.JavaTypeMapping getMemberMapping(org.datanucleus.metadata.AbstractMemberMetaData mmd)
mmd - MetaData for the field whose mapping we want
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||