|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.speedo.pm.lib.AbstractPOManager
org.objectweb.speedo.pm.jdo.lib.JDOPOManager
public class JDOPOManager
Is a fractal component exporting the POManagerItf interface. This implementation delegates most of the JDO methods (javax.jdo.PersistenceManager) to the underlying TransactionPersistenceManager, the perseus component managing the concurrency, the caching and the loading aspect. In order to represents a working set (transtional or not) this PM is linked forever to an org.objectweb.speedo.workingset.jdo.api.JDOTransactionItf instance. The status of this JDOTransactionItf instance changes when this PM is allocated or closed, or when transaction demarcations are done through the javax.jdo.Transaction interface. This implementation uses a QueryManager for allocating CompiledQuery instance. Concerning the javax.jdo.Query implementation, this PM uses org.objectweb.speedo.query.lib.SpeedoQuery which are created each time (No pooling mechanism). The last dependencies is the JormFactory and a P
PersistenceManager
,
TransactionalPersistenceManager
,
JormFactory
,
POManagerFactoryItf
,
QueryManager
,
CompiledQuery
,
JDOTransactionItf
Field Summary |
---|
Fields inherited from class org.objectweb.speedo.pm.lib.AbstractPOManager |
---|
COMPONENT_BINDING, connectionSpec, currentThread, fetchPlan, jf, JORM_FACTORY_BINDING, logger, loggerFactory, nbUse, pmf, PNAME_CODER_BINDING, pnc, PO_MANAGER_FACTORY_BINDING, prefetchOnExtent, prefetchOnQuery, QUERY_MANAGER_BINDING, queryManager, semaphore, thisPM, tpm, TRANSACTION_BINDING, TRANSACTIONAL_PERSISTENCE_MANAGER_BINDING, tx |
Constructor Summary | |
---|---|
JDOPOManager()
|
Method Summary | |
---|---|
void |
addInstanceLifecycleListener(InstanceLifecycleListener l,
java.lang.Class[] classes)
|
void |
checkConsistency()
|
void |
close()
This method closes the PersistenceManager. |
void |
closePOManager()
Close the POM |
Query |
createQuery(java.lang.Object o)
|
Transaction |
currentTransaction()
Return the JDOTransactionItf instance associated with a PersistenceManager. |
void |
deleteByQuery(QueryDefinition qd)
|
void |
deletePersistent(java.lang.Object o)
Delete the persistent instance from the data store. |
void |
deletePersistentAll(java.util.Collection pcs)
Delete a Set of instances from the data store. |
void |
deletePersistentAll(java.lang.Object[] pcs)
Delete an array of instances from the data store. |
java.lang.Object |
detachCopy(java.lang.Object o)
Make a detached copy of the persitent object o and return it. |
java.util.Collection |
detachCopyAll(java.util.Collection collection)
Create a detached copy for each element of collection (assuming each element is persistent). |
java.lang.Object[] |
detachCopyAll(java.lang.Object[] objects)
|
void |
evict(java.lang.Object o)
Mark an instance as no longer needed in the cache. |
void |
evictAll()
Mark all persistent-nontransactional instances as no longer needed in the cache. |
void |
evictAll(java.util.Collection pcs)
Mark a Set of instances as no longer needed in the cache. |
void |
evictAll(java.lang.Object[] pcs)
Mark an array of instances as no longer needed in the cache. |
void |
flush()
|
JDOConnection |
getDataStoreConnection()
|
boolean |
getDetachAllOnCommit()
|
java.lang.Object |
getEncodedPName(PersistentObjectItf po)
Encodes a PName into a serializable representation which could be decoded later. |
Extent |
getExtent(java.lang.Class arg0)
|
Extent |
getExtent(java.lang.Class persistenceCapableClass,
boolean subclasses)
Not implemented. |
FetchPlan |
getFetchPlan()
|
boolean |
getIgnoreCache()
Get the ignoreCache setting for queries. |
boolean |
getMultithreaded()
Get the current Multithreaded flag for this PersistenceManager. |
java.lang.Object |
getNativeConnection()
|
java.lang.Object |
getObjectById(java.lang.Class arg0,
java.lang.Object oid)
|
java.lang.Object |
getObjectById(java.lang.Object oid)
|
java.lang.Object |
getObjectById(java.lang.Object oid,
boolean validate)
This method locates a persistent instance in the cache of instances managed by this PersistenceManager. |
java.lang.Object |
getObjectId(java.lang.Object pc)
The ObjectId returned by this method represents the JDO identity of the instance. |
java.lang.Class |
getObjectIdClass(java.lang.Class cls)
Fetches the Null PName associated to the PBinder of the persistent class |
java.util.Collection |
getObjectsById(java.util.Collection arg0)
|
java.util.Collection |
getObjectsById(java.util.Collection arg0,
boolean validate)
|
java.lang.Object[] |
getObjectsById(java.lang.Object[] arg0)
|
java.lang.Object[] |
getObjectsById(java.lang.Object[] arg0,
boolean arg1)
|
PersistenceManagerFactory |
getPersistenceManagerFactory()
|
Sequence |
getSequence(java.lang.String name)
|
java.lang.Object |
getTransactionalObjectId(java.lang.Object o)
Not implemented. |
java.lang.Object |
getUserObject()
The application can manage the PersistenceManager instances more easily by having an application object associated with each PersistenceManager instance. |
java.lang.Object |
getUserObject(java.lang.Object arg0)
|
boolean |
isClosed()
|
void |
makeNontransactional(java.lang.Object o)
|
void |
makeNontransactionalAll(java.util.Collection pcs)
|
void |
makeNontransactionalAll(java.lang.Object[] pcs)
|
java.lang.Object |
makePersistent(java.lang.Object o)
Make the transient instance persistent in this PersistenceManager. |
java.util.Collection |
makePersistentAll(java.util.Collection pcs)
Make a Set of instances persistent. |
java.lang.Object[] |
makePersistentAll(java.lang.Object[] pcs)
Make an array of instances persistent. |
void |
makeTransactional(java.lang.Object o)
Make an instance subject to transactional boundaries. |
void |
makeTransactionalAll(java.util.Collection pcs)
Make a Set of instances subject to transactional boundaries. |
void |
makeTransactionalAll(java.lang.Object[] pcs)
Make an array of instances subject to transactional boundaries. |
void |
makeTransient(java.lang.Object o)
Make an instance transient, removing it from management by this PersistenceManager. |
void |
makeTransient(java.lang.Object o,
boolean useFetchPlan)
|
void |
makeTransientAll(java.util.Collection pcs)
Make a Set of instances transient, removing them from management by this PersistenceManager. |
void |
makeTransientAll(java.util.Collection os,
boolean useFetchPlan)
|
void |
makeTransientAll(java.lang.Object[] pcs)
Make an array of instances transient, removing them from management by this PersistenceManager. |
void |
makeTransientAll(java.lang.Object[] os,
boolean useFetchPlan)
|
java.lang.Object |
newInstance(java.lang.Class arg0)
|
Query |
newNamedQuery(java.lang.Class klass,
java.lang.String name)
|
java.lang.Object |
newObjectIdInstance(java.lang.Class aClass,
java.lang.Object s)
|
Query |
newQuery()
Create a new Query with no elements. |
Query |
newQuery(java.lang.Class cls)
Create a new Query specifying the Class of the candidate instances. |
Query |
newQuery(java.lang.Class cls,
java.util.Collection cln)
Create a new Query with the Class of the candidate instances and candidate Set. |
Query |
newQuery(java.lang.Class cls,
java.util.Collection cln,
java.lang.String filter)
Create a new Query with the Class of the candidate instances, candidate Set, and filter. |
Query |
newQuery(java.lang.Class cls,
java.lang.String filter)
Create a new Query with the Class of the candidate instances and filter. |
Query |
newQuery(Extent extent)
|
Query |
newQuery(Extent extent,
java.lang.String filter)
|
Query |
newQuery(java.lang.Object compiled)
Create a new Query using elements from another Query. |
Query |
newQuery(java.lang.String query)
|
Query |
newQuery(java.lang.String language,
java.lang.Object query)
Create a new Query using the specified language. |
java.lang.Object |
putUserObject(java.lang.Object arg0,
java.lang.Object arg1)
|
void |
refresh(java.lang.Object o)
Refresh the state of the instance from the data store. |
void |
refreshAll()
Refresh the state of all applicable instances from the data store. |
void |
refreshAll(java.util.Collection pcs)
Refresh the state of a Set of instances from the data store. |
void |
refreshAll(JDOException arg0)
|
void |
refreshAll(java.lang.Object[] pcs)
Refresh the state of an array of instances from the data store. |
void |
removeInstanceLifecycleListener(InstanceLifecycleListener classes)
|
java.lang.Object |
removeUserObject(java.lang.Object arg0)
|
protected void |
resetPMOnOpen(java.lang.Object connectionspec)
|
void |
retrieve(java.lang.Object o)
|
void |
retrieve(java.lang.Object o,
boolean FGOnly)
|
void |
retrieveAll(java.util.Collection pcs)
|
void |
retrieveAll(java.util.Collection collection,
boolean b)
|
void |
retrieveAll(java.lang.Object[] pcs)
|
void |
retrieveAll(java.lang.Object[] objects,
boolean b)
|
void |
setDetachAllOnCommit(boolean arg0)
|
void |
setIgnoreCache(boolean flag)
Set the ignoreCache parameter for queries. |
void |
setMultithreaded(boolean flag)
Set the Multithreaded flag for this PersistenceManager. |
void |
setUserObject(java.lang.Object o)
|
java.lang.Object |
speedoAttachCopy(java.lang.Object detached,
java.util.Map map)
Apply the changes contained in the detached object to the corresponding persistent instance in the cache. |
void |
speedoDeletePersistent(java.lang.Object o)
Delete persistent a PersistentObjectItf. |
void |
speedoDeletePersistent(java.lang.Object oid,
java.lang.Class pc)
|
java.lang.Object |
speedoDetachCopy(PersistentObjectItf po,
java.util.Map map,
java.util.Collection fgHints)
|
FetchPlanItf |
speedoGetFetchPlan()
|
java.lang.Object |
speedoGetObjectById(java.lang.Object oid,
boolean validate)
|
java.lang.Object |
speedoMakePersistent(PersistentObjectItf po,
java.util.Map map)
Make persistent a PersistentObjectItf. |
void |
speedoRefresh(PersistentObjectItf sp,
java.util.Map map,
java.util.Collection fgHints)
|
void |
speedoRetrieve(PersistentObjectItf sp,
java.util.Map map,
java.util.Collection fgHints)
|
Methods inherited from class org.objectweb.speedo.pm.lib.AbstractPOManager |
---|
addUse, afterCompletion, assertIsOpen, assertIsPO, assertPOManager, beforeCompletion, bindFc, bindPMThread, decodeIdentifier, getConnectionSpec, getPOManagerFactory, getSemaphore, getSpeedoTransaction, getTransactionalPersistenceManager, isPOMClosed, listFc, lookupFc, open, speedoDeletePersistentAll, speedoFlush, speedoGetObject, speedoGetObject, speedoPersist, unbindFc |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.speedo.pm.api.POManagerItf |
---|
addUse, decodeIdentifier, getConnectionSpec, getPOManagerFactory, getSemaphore, getSpeedoTransaction, getTransactionalPersistenceManager, isPOMClosed, open, speedoDeletePersistentAll, speedoGetObject |
Methods inherited from interface javax.transaction.Synchronization |
---|
afterCompletion, beforeCompletion |
Methods inherited from interface org.objectweb.fractal.api.control.BindingController |
---|
bindFc, listFc, lookupFc, unbindFc |
Constructor Detail |
---|
public JDOPOManager()
Method Detail |
---|
public Query createQuery(java.lang.Object o)
public java.lang.Object getNativeConnection()
getNativeConnection
in interface JDOConnection
public boolean isClosed()
isClosed
in interface PersistenceManager
public void addInstanceLifecycleListener(InstanceLifecycleListener l, java.lang.Class[] classes)
addInstanceLifecycleListener
in interface PersistenceManager
public void removeInstanceLifecycleListener(InstanceLifecycleListener classes)
removeInstanceLifecycleListener
in interface PersistenceManager
public void flush()
flush
in interface PersistenceManager
public JDOConnection getDataStoreConnection()
getDataStoreConnection
in interface PersistenceManager
public FetchPlanItf speedoGetFetchPlan()
speedoGetFetchPlan
in interface POManagerItf
speedoGetFetchPlan
in class AbstractPOManager
public FetchPlan getFetchPlan()
getFetchPlan
in interface PersistenceManager
public java.lang.Class getObjectIdClass(java.lang.Class cls)
getObjectIdClass
in interface PersistenceManager
public void close()
close
in interface JDOConnection
close
in interface PersistenceManager
JDOUserException
- if the transaction associated to
the persistence manager is active.
JDOFatalDataStoreException
- if there is a problem while
releasing the persistence manager.public Transaction currentTransaction()
currentTransaction
in interface PersistenceManager
public void evict(java.lang.Object o)
evict
in interface PersistenceManager
o
- the instance to evict from the cache.public void evictAll(java.lang.Object[] pcs)
evictAll
in interface PersistenceManager
pcs
- the array of instances to evict from the cache.
JDOUserException
- if some instances cannot be removed.evict(java.lang.Object pc)
public void evictAll(java.util.Collection pcs)
evictAll
in interface PersistenceManager
pcs
- the Set of instance to evict from the cache.evict(java.lang.Object pc)
public void evictAll()
evictAll
in interface PersistenceManager
evict(java.lang.Object pc)
public void refresh(java.lang.Object o)
In an optimistic transaction, the state of instances in the cache might not match the state in the data store. This method is used to reload the state of the instance from the data store so that a subsequent commit is more likely to succeed.
Outside a transaction, this method will refresh nontransactional state.
refresh
in interface PersistenceManager
o
- the instance to refresh.public void speedoRefresh(PersistentObjectItf sp, java.util.Map map, java.util.Collection fgHints)
speedoRefresh
in interface POManagerItf
public void refreshAll(java.lang.Object[] pcs)
refreshAll
in interface PersistenceManager
pcs
- the array of instances to refresh.
object.refresh(java.lang.Object pc)
public void refreshAll(java.util.Collection pcs)
refreshAll
in interface PersistenceManager
pcs
- the Set of instances to refresh.refresh(java.lang.Object pc)
public void refreshAll()
If called with an active transaction, all transactional instances will be refreshed. If called outside an active transaction, all nontransactional instances will be refreshed.
refreshAll
in interface PersistenceManager
refresh(java.lang.Object pc)
public void refreshAll(JDOException arg0)
refreshAll
in interface PersistenceManager
public Query newQuery()
newQuery
in interface PersistenceManager
public Query newQuery(java.lang.String query)
newQuery
in interface PersistenceManager
public Query newNamedQuery(java.lang.Class klass, java.lang.String name)
newNamedQuery
in interface PersistenceManager
public Query newQuery(java.lang.Object compiled)
All of the settings of the other Query are copied to this Query, except for the candidate Set or Extent.
newQuery
in interface PersistenceManager
compiled
- another Query from the same JDO implementation
public Query newQuery(java.lang.String language, java.lang.Object query)
newQuery
in interface PersistenceManager
language
- the language of the query parameterquery
- the query, which is of a form determined by the language
public Query newQuery(java.lang.Class cls)
newQuery
in interface PersistenceManager
cls
- the Class of the candidate instances
public Query newQuery(Extent extent)
newQuery
in interface PersistenceManager
public Query newQuery(Extent extent, java.lang.String filter)
newQuery
in interface PersistenceManager
public Query newQuery(java.lang.Class cls, java.util.Collection cln)
newQuery
in interface PersistenceManager
cls
- the Class of resultscln
- the Set of candidate instances
public Query newQuery(java.lang.Class cls, java.lang.String filter)
newQuery
in interface PersistenceManager
cls
- the Class of resultsfilter
- the filter for candidate instances
public Query newQuery(java.lang.Class cls, java.util.Collection cln, java.lang.String filter)
newQuery
in interface PersistenceManager
cls
- the Class of candidate instancescln
- the Set of candidate instancesfilter
- the filter for candidate instances
public Extent getExtent(java.lang.Class persistenceCapableClass, boolean subclasses)
getExtent
in interface PersistenceManager
persistenceCapableClass
- Class of instancessubclasses
- whether to include instances of subclasses
public Extent getExtent(java.lang.Class arg0)
getExtent
in interface PersistenceManager
public java.lang.Object getObjectById(java.lang.Object oid, boolean validate)
getObjectById
in interface PersistenceManager
oid
- an ObjectIdvalidate
- if the existence of the instance is to be validated. The
flag is ignored in this implementation.
getObjectId(java.lang.Object pc)
,
getTransactionalObjectId(java.lang.Object pc)
public java.lang.Object getObjectById(java.lang.Class arg0, java.lang.Object oid)
getObjectById
in interface PersistenceManager
public java.lang.Object getObjectById(java.lang.Object oid)
getObjectById
in interface PersistenceManager
public java.util.Collection getObjectsById(java.util.Collection arg0, boolean validate)
getObjectsById
in interface PersistenceManager
public java.util.Collection getObjectsById(java.util.Collection arg0)
getObjectsById
in interface PersistenceManager
public java.lang.Object[] getObjectsById(java.lang.Object[] arg0, boolean arg1)
getObjectsById
in interface PersistenceManager
public java.lang.Object[] getObjectsById(java.lang.Object[] arg0)
getObjectsById
in interface PersistenceManager
public java.lang.Object speedoGetObjectById(java.lang.Object oid, boolean validate)
public java.lang.Object getObjectId(java.lang.Object pc)
getObjectId
in interface PersistenceManager
pc
- the PersistenceCapable instance
getTransactionalObjectId(java.lang.Object pc)
,
getObjectById(java.lang.Object oid, boolean validate)
public java.lang.Object getEncodedPName(PersistentObjectItf po)
POManagerItf
getEncodedPName
in interface POManagerItf
getEncodedPName
in class AbstractPOManager
po
- is a persistent objectpublic java.lang.Object getTransactionalObjectId(java.lang.Object o)
If the object identity is being changed in the transaction, by the application modifying one or more of the application key fields, then this method returns the current identity in the transaction.
If there is no transaction in progress, or if none of the key fields is being modified, then this method will return the same value as getObjectId.
getTransactionalObjectId
in interface PersistenceManager
o
- a PersistenceCapable instance
getObjectId(java.lang.Object pc)
,
getObjectById(java.lang.Object oid, boolean validate)
public java.lang.Object makePersistent(java.lang.Object o)
makePersistent
in interface PersistenceManager
o
- a transient instance of a Class that implements
PersistenceCapablepublic java.lang.Object speedoMakePersistent(PersistentObjectItf po, java.util.Map map)
POManagerItf
speedoMakePersistent
in interface POManagerItf
po
- is the instance to make persistent.map
- is the context of the attachment process if any. If no attachment, it is null.
public java.lang.Object[] makePersistentAll(java.lang.Object[] pcs)
makePersistentAll
in interface PersistenceManager
pcs
- an array of transient instances
JDOUserException
- if an object cannot be made persistent.makePersistent(java.lang.Object pc)
public java.util.Collection makePersistentAll(java.util.Collection pcs)
makePersistentAll
in interface PersistenceManager
pcs
- a Set of transient instancesmakePersistent(java.lang.Object pc)
public void deletePersistent(java.lang.Object o)
deletePersistent
in interface PersistenceManager
o
- a persistent instance
JDOUserException
- if the instance is transient or managed by
another PersistenceManager.public void speedoDeletePersistent(java.lang.Object o)
POManagerItf
speedoDeletePersistent
in interface POManagerItf
o
- is the instance to make persistent.public void speedoDeletePersistent(java.lang.Object oid, java.lang.Class pc)
speedoDeletePersistent
in interface POManagerItf
public void deleteByQuery(QueryDefinition qd)
deleteByQuery
in interface JDOPOManagerItf
public void deletePersistentAll(java.lang.Object[] pcs)
deletePersistentAll
in interface PersistenceManager
pcs
- a Set of persistent instancesdeletePersistent(java.lang.Object pc)
public void deletePersistentAll(java.util.Collection pcs)
deletePersistentAll
in interface PersistenceManager
pcs
- a Set of persistent instancesdeletePersistent(java.lang.Object pc)
public void makeTransient(java.lang.Object o)
The instance loses its JDO identity and it is no longer associated with any PersistenceManager. The state of fields is preserved unchanged.
makeTransient
in interface PersistenceManager
o
- the instance to make transient.
JDOUserException
- if the instance is dirty.public void makeTransientAll(java.lang.Object[] pcs)
makeTransientAll
in interface PersistenceManager
pcs
- the instances to make transient.makeTransient(java.lang.Object pc)
public void makeTransientAll(java.util.Collection pcs)
The instances lose their JDO identity and they are no longer associated with any PersistenceManager. The state of fields is preserved unchanged.
makeTransientAll
in interface PersistenceManager
pcs
- the instances to make transient.public void makeTransactional(java.lang.Object o)
makeTransactional
in interface PersistenceManager
o
- the instance to make transactional.PersistenceManager.makeTransactional(java.lang.Object)
public void makeTransactionalAll(java.lang.Object[] pcs)
makeTransactionalAll
in interface PersistenceManager
pcs
- the array of instances to make transactional.makeTransactional(java.lang.Object pc)
public void makeTransactionalAll(java.util.Collection pcs)
makeTransactionalAll
in interface PersistenceManager
pcs
- the Set of instances to make transactional.makeTransactional(java.lang.Object pc)
public void makeNontransactional(java.lang.Object o)
makeNontransactional
in interface PersistenceManager
public void makeNontransactionalAll(java.lang.Object[] pcs)
makeNontransactionalAll
in interface PersistenceManager
public void makeNontransactionalAll(java.util.Collection pcs)
makeNontransactionalAll
in interface PersistenceManager
public void setUserObject(java.lang.Object o)
setUserObject
in interface PersistenceManager
public java.lang.Object getUserObject()
getUserObject
in interface PersistenceManager
setUserObject(java.lang.Object)
public PersistenceManagerFactory getPersistenceManagerFactory()
getPersistenceManagerFactory
in interface PersistenceManager
public void setMultithreaded(boolean flag)
setMultithreaded
in interface PersistenceManager
flag
- the Multithreaded setting.public boolean getMultithreaded()
getMultithreaded
in interface PersistenceManager
setMultithreaded(boolean)
public void setIgnoreCache(boolean flag)
setIgnoreCache
in interface PersistenceManager
flag
- the ignoreCache setting.public boolean getIgnoreCache()
getIgnoreCache
in interface PersistenceManager
setIgnoreCache(boolean)
public java.lang.Object newObjectIdInstance(java.lang.Class aClass, java.lang.Object s)
newObjectIdInstance
in interface PersistenceManager
public void retrieve(java.lang.Object o)
retrieve
in interface PersistenceManager
public void speedoRetrieve(PersistentObjectItf sp, java.util.Map map, java.util.Collection fgHints)
speedoRetrieve
in interface POManagerItf
public void retrieveAll(java.util.Collection pcs)
retrieveAll
in interface PersistenceManager
public void retrieveAll(java.lang.Object[] pcs)
retrieveAll
in interface PersistenceManager
public void retrieveAll(java.util.Collection collection, boolean b)
retrieveAll
in interface PersistenceManager
public void retrieveAll(java.lang.Object[] objects, boolean b)
retrieveAll
in interface PersistenceManager
public java.lang.Object detachCopy(java.lang.Object o)
detachCopy
in interface PersistenceManager
o
-
public java.lang.Object speedoDetachCopy(PersistentObjectItf po, java.util.Map map, java.util.Collection fgHints)
speedoDetachCopy
in interface POManagerItf
public java.util.Collection detachCopyAll(java.util.Collection collection)
detachCopyAll
in interface PersistenceManager
collection
-
public java.lang.Object[] detachCopyAll(java.lang.Object[] objects)
detachCopyAll
in interface PersistenceManager
public java.lang.Object speedoAttachCopy(java.lang.Object detached, java.util.Map map)
speedoAttachCopy
in interface POManagerItf
detached
- map
- is the attachement context
public java.lang.Object getUserObject(java.lang.Object arg0)
getUserObject
in interface PersistenceManager
public java.lang.Object putUserObject(java.lang.Object arg0, java.lang.Object arg1)
putUserObject
in interface PersistenceManager
public java.lang.Object removeUserObject(java.lang.Object arg0)
removeUserObject
in interface PersistenceManager
public void checkConsistency()
checkConsistency
in interface PersistenceManager
public Sequence getSequence(java.lang.String name)
getSequence
in interface PersistenceManager
public java.lang.Object newInstance(java.lang.Class arg0)
newInstance
in interface PersistenceManager
public void closePOManager()
POManagerItf
closePOManager
in interface POManagerItf
closePOManager
in class AbstractPOManager
protected void resetPMOnOpen(java.lang.Object connectionspec)
resetPMOnOpen
in class AbstractPOManager
public void makeTransient(java.lang.Object o, boolean useFetchPlan)
makeTransient
in interface PersistenceManager
public void makeTransientAll(java.lang.Object[] os, boolean useFetchPlan)
makeTransientAll
in interface PersistenceManager
public void makeTransientAll(java.util.Collection os, boolean useFetchPlan)
makeTransientAll
in interface PersistenceManager
public void retrieve(java.lang.Object o, boolean FGOnly)
retrieve
in interface PersistenceManager
public boolean getDetachAllOnCommit()
getDetachAllOnCommit
in interface PersistenceManager
public void setDetachAllOnCommit(boolean arg0)
setDetachAllOnCommit
in interface PersistenceManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |