public class StoreManagerDebug
extends org.jpox.store.rdbms.RDBMSManager
autoCreateColumns, autoCreateConstraints, autoCreateTables, autoCreateWarnOnError, checkExistTablesOrViews, datastoreContainerByIdentifier, dba, ds, dsNonTx, fixedDatastore, identifierFactory, LOCALISER, password, pmfContext, poidManager, readOnlyDatastore, readOnlyDatastoreAction, starter, starterInitialised, storeDataByAppIdClass, storeDataByClass, userName, validateColumns, validateConstraints, validateTables| Constructor and Description |
|---|
StoreManagerDebug(org.jpox.ClassLoaderResolver clr,
org.jpox.AbstractPersistenceManagerFactory pmf,
String userName,
String password) |
| Modifier and Type | Method and Description |
|---|---|
int |
counter() |
int[] |
executeStatementBatch(String stmt,
PreparedStatement ps) |
ResultSet |
executeStatementQuery(String stmt,
PreparedStatement ps) |
int |
executeStatementUpdate(String stmt,
PreparedStatement ps) |
static StoreManagerDebug |
getConfiguredStoreManager(javax.jdo.PersistenceManager persistenceManager)
Get the currently configured store manager from JPOX.
|
void |
resetCounter() |
static void |
setup(org.jpox.AbstractPersistenceManagerFactory pmf)
This method will change JPOX store manager extension so it uses our class instead of whatever is configured in
the plugin.xml
|
addClass, addClasses, close, closeConnection, getBackingStoreForArray, getBackingStoreForCollection, getBackingStoreForMap, getCatalogName, getClassNameForObjectID, getColumnInfo, getColumnInfoForColumnName, getColumnInfoForTable, getConnection, getConnection, getConnection, getDeleteRequest, getExtent, getFetchRequest, getFetchStatement, getInsertRequest, getLocateRequest, getManagedTransaction, getNonmanagedTransaction, getSchemaName, getSequence, getStatement, getStatement, getStrategyValue, getTableInfo, getTableInfo, getUpdateRequest, initialiseIdentifierFactory, invalidateColumnInfoForTable, newJoinDatastoreContainerObject, releaseConnection, removeAllClasses, resolveIdentifierMacro, supportsQueryLanguageaddDatastoreContainer, clearAutoStarter, delete, deleteDependent, deregisterAllStoreData, fetch, getAutoStartMechanism, getClassesManagingTableForClass, getClassWithPrimaryKeyForClass, getDatastoreAdapter, getDatastoreClass, getDatastoreClass, getDatastoreContainerForIdentifier, getDatastoreContainerObject, getIdentifierFactory, getManagedClasses, getMappingManager, getMetaDataManager, getPMFContext, getStoreDataForDatastoreContainerObject, getSubClassesForClass, initialiseAutoStart, insert, isStrategyDatastoreAttributed, locate, manageClassForIdentity, manageClassForIdentity, managesClass, newObjectID, newQuery, registerStoreData, updatepublic static void setup(org.jpox.AbstractPersistenceManagerFactory pmf)
pmf - public static StoreManagerDebug getConfiguredStoreManager(javax.jdo.PersistenceManager persistenceManager)
setup(AbstractPersistenceManagerFactory) is not called first.persistenceManager - public int[] executeStatementBatch(String stmt, PreparedStatement ps) throws SQLException
executeStatementBatch in class org.jpox.store.rdbms.RDBMSManagerSQLExceptionpublic ResultSet executeStatementQuery(String stmt, PreparedStatement ps) throws SQLException
executeStatementQuery in class org.jpox.store.rdbms.RDBMSManagerSQLExceptionpublic int executeStatementUpdate(String stmt, PreparedStatement ps) throws SQLException
executeStatementUpdate in class org.jpox.store.rdbms.RDBMSManagerSQLExceptionpublic void resetCounter()
public int counter()
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.