Kodo 4.2.0. generated on July 28 2008

kodo.persistence
Interface KodoEntityManager

All Superinterfaces:
EntityManager, EntityTransaction, OpenJPAEntityManager, OpenJPAEntityManagerSPI

Deprecated.

public interface KodoEntityManager
extends OpenJPAEntityManagerSPI

Redefines OpenJPA EntityManager for backward compatibility with published Kodo-specific 4.0 API.

Since:
4.1

Field Summary
 
Fields inherited from interface org.apache.openjpa.persistence.OpenJPAEntityManager
CALLBACK_FAIL_FAST, CALLBACK_IGNORE, CALLBACK_LOG, CALLBACK_RETHROW, CALLBACK_ROLLBACK, CLEAR_ALL, CLEAR_DATASTORE, CONN_RETAIN_ALWAYS, CONN_RETAIN_DEMAND, CONN_RETAIN_TRANS, DETACH_ALL, DETACH_CLOSE, DETACH_COMMIT, DETACH_FETCH_GROUPS, DETACH_FGS, DETACH_LOADED, DETACH_NONTXREAD, DETACH_ROLLBACK, RESTORE_ALL, RESTORE_IMMUTABLE, RESTORE_NONE
 
Method Summary
<T> Extent<T>
createExtent(Class<T> cls, boolean subs)
          Deprecated. Return an extent of the given class, optionally including subclasses.
 KodoQuery createNamedQuery(String name)
          Deprecated.  
 KodoQuery createNativeQuery(String sql)
          Deprecated.  
 KodoQuery createNativeQuery(String sql, Class resultClass)
          Deprecated.  
 KodoQuery createNativeQuery(String sql, String resultMapping)
          Deprecated.  
 KodoQuery createQuery(String query)
          Deprecated.  
 KodoQuery createQuery(String language, String query)
          Deprecated. Create a new query in the given language.
 KodoEntityManagerFactory getEntityManagerFactory()
          Deprecated. Return the factory that produced this entity manager.
 FetchPlan getFetchPlan()
          Deprecated. Return the (mutable) fetch plan for loading objects from this entity manager.
 Generator getFieldGenerator(Class forClass, String fieldName)
          Deprecated. Returns a Generator for the generated values of the specified type, or null if the field is not generated.
 Generator getIdGenerator(Class forClass)
          Deprecated. Returns a Generator for the datastore identity values of the specified type, or null if the type is unmanaged or its identity cannot be represented by a sequence.
 Generator getNamedGenerator(String name)
          Deprecated. Return the named generator defined in the metadata.
 
Methods inherited from interface org.apache.openjpa.persistence.OpenJPAEntityManagerSPI
addLifecycleListener, addTransactionListener, getConfiguration, getLifecycleListenerCallbackModes, getManagedRuntime, getTransactionListenerCallbackModes, removeLifecycleListener, removeTransactionListener, setLifecycleListenerCallbackMode, setLifecycleListenerCallbackMode, setTransactionListenerCallbackMode, setTransactionListenerCallbackMode
 
Methods inherited from interface org.apache.openjpa.persistence.OpenJPAEntityManager
begin, beginStore, cancelAll, commit, commitAndResume, containsAll, containsAll, createInstance, createQuery, detach, detachAll, detachAll, dirty, dirtyClass, evict, evictAll, evictAll, evictAll, evictAll, evictAll, findAll, findAll, findCached, getAutoClear, getAutoDetach, getClassLoader, getConnection, getConnectionPassword, getConnectionRetainMode, getConnectionUserName, getDetachState, getDirtyObjects, getEvictFromStoreCache, getIgnoreChanges, getLifecycleListenerCallbackMode, getLockMode, getManagedObjects, getMultithreaded, getNontransactionalRead, getNontransactionalWrite, getObjectId, getObjectIdClass, getOptimistic, getOrderDirtyObjects, getPendingTransactionalObjects, getPersistedClasses, getPopulateStoreCache, getRemovedClasses, getRestoreState, getRetainState, getRollbackCause, getRollbackOnly, getSyncWithManagedTransactions, getTransaction, getTransactionalObjects, getTransactionListenerCallbackMode, getUpdatedClasses, getUserObject, getVersion, isActive, isDetached, isDirty, isLargeTransaction, isManaged, isNewlyPersistent, isPersistent, isRemoved, isStoreActive, isTrackChangesByType, isTransactional, isTransactionManaged, lock, lock, lockAll, lockAll, lockAll, lockAll, mergeAll, mergeAll, nontransactional, nontransactionalAll, nontransactionalAll, persistAll, persistAll, popFetchPlan, preFlush, pushFetchPlan, putUserObject, refreshAll, refreshAll, refreshAll, release, releaseAll, releaseAll, releaseSavepoint, releaseSavepoint, removeAll, removeAll, retrieve, retrieveAll, retrieveAll, rollback, rollbackAndResume, rollbackToSavepoint, rollbackToSavepoint, setAutoClear, setAutoClear, setAutoDetach, setAutoDetach, setAutoDetach, setAutoDetach, setAutoDetach, setDetachState, setDetachState, setEvictFromStoreCache, setIgnoreChanges, setLargeTransaction, setLifecycleListenerCallbackMode, setMultithreaded, setNontransactionalRead, setNontransactionalWrite, setOptimistic, setOrderDirtyObjects, setPopulateStoreCache, setRestoreState, setRestoreState, setRetainState, setRollbackOnly, setRollbackOnly, setSavepoint, setSyncWithManagedTransactions, setTrackChangesByType, setTransactionListenerCallbackMode, transactional, transactionalAll, transactionalAll, validateChanges
 
Methods inherited from interface javax.persistence.EntityManager
clear, close, contains, find, flush, getDelegate, getFlushMode, getReference, isOpen, joinTransaction, lock, merge, persist, refresh, remove, setFlushMode
 

Method Detail

getEntityManagerFactory

KodoEntityManagerFactory getEntityManagerFactory()
Deprecated. 
Return the factory that produced this entity manager.

Specified by:
getEntityManagerFactory in interface OpenJPAEntityManager

getFetchPlan

FetchPlan getFetchPlan()
Deprecated. 
Return the (mutable) fetch plan for loading objects from this entity manager.

Specified by:
getFetchPlan in interface OpenJPAEntityManager

getNamedGenerator

Generator getNamedGenerator(String name)
Deprecated. 
Return the named generator defined in the metadata.

Specified by:
getNamedGenerator in interface OpenJPAEntityManager

getIdGenerator

Generator getIdGenerator(Class forClass)
Deprecated. 
Returns a Generator for the datastore identity values of the specified type, or null if the type is unmanaged or its identity cannot be represented by a sequence.

Specified by:
getIdGenerator in interface OpenJPAEntityManager

getFieldGenerator

Generator getFieldGenerator(Class forClass,
                            String fieldName)
Deprecated. 
Returns a Generator for the generated values of the specified type, or null if the field is not generated.

Specified by:
getFieldGenerator in interface OpenJPAEntityManager

createExtent

<T> Extent<T> createExtent(Class<T> cls,
                           boolean subs)
Deprecated. 
Return an extent of the given class, optionally including subclasses.

Specified by:
createExtent in interface OpenJPAEntityManager

createQuery

KodoQuery createQuery(String query)
Deprecated. 
Specified by:
createQuery in interface EntityManager
Specified by:
createQuery in interface OpenJPAEntityManager

createNamedQuery

KodoQuery createNamedQuery(String name)
Deprecated. 
Specified by:
createNamedQuery in interface EntityManager
Specified by:
createNamedQuery in interface OpenJPAEntityManager

createNativeQuery

KodoQuery createNativeQuery(String sql)
Deprecated. 
Specified by:
createNativeQuery in interface EntityManager
Specified by:
createNativeQuery in interface OpenJPAEntityManager

createNativeQuery

KodoQuery createNativeQuery(String sql,
                            Class resultClass)
Deprecated. 
Specified by:
createNativeQuery in interface EntityManager
Specified by:
createNativeQuery in interface OpenJPAEntityManager

createNativeQuery

KodoQuery createNativeQuery(String sql,
                            String resultMapping)
Deprecated. 
Specified by:
createNativeQuery in interface EntityManager
Specified by:
createNativeQuery in interface OpenJPAEntityManager

createQuery

KodoQuery createQuery(String language,
                      String query)
Deprecated. 
Create a new query in the given language.

Specified by:
createQuery in interface OpenJPAEntityManager

Kodo 4.2.0. generated on July 28 2008

Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.