|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JDBCStore
Represents the JDBC store.
Method Summary | |
---|---|
Object |
find(Object oid,
ValueMapping vm,
JDBCFetchConfiguration fetch)
Find the object with the given oid. |
JDBCConfiguration |
getConfiguration()
Return the configuration for this runtime. |
Connection |
getConnection()
Return a SQL connection to the database. |
StoreContext |
getContext()
Current persistence context. |
DBDictionary |
getDBDictionary()
Return the dictionary in use. |
JDBCFetchConfiguration |
getFetchConfiguration()
Return the current default fetch configuration. |
JDBCLockManager |
getLockManager()
If the lock manager in use is a JDBCLockManager , return it. |
SQLFactory |
getSQLFactory()
Return the SQL factory for this runtime. |
void |
loadSubclasses(ClassMapping mapping)
Makes sure all subclasses of the given type are loaded in the JVM. |
Id |
newDataStoreId(long id,
ClassMapping mapping,
boolean subs)
Create a new datastore identity object from the given id value and mapping. |
Method Detail |
---|
StoreContext getContext()
JDBCConfiguration getConfiguration()
DBDictionary getDBDictionary()
SQLFactory getSQLFactory()
JDBCLockManager getLockManager()
JDBCLockManager
, return it.
Connection getConnection()
close
method should always be called on the connection
to free any resources it is using. When appropriate, the close
method is implemented as a no-op.
JDBCFetchConfiguration getFetchConfiguration()
Id newDataStoreId(long id, ClassMapping mapping, boolean subs)
Object find(Object oid, ValueMapping vm, JDBCFetchConfiguration fetch)
vm
- the mapping holding this oid, or null if not applicablevoid loadSubclasses(ClassMapping mapping)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |