|
Kodo 4.2.0. (DEPRECATED) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface KodoEntityManager
Redefines OpenJPA EntityManager for backward compatibility with published Kodo-specific 4.0 API.
| 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 | ||
|---|---|---|
|
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 javax.persistence.EntityManager |
|---|
clear, close, contains, find, flush, getDelegate, getFlushMode, getReference, isOpen, joinTransaction, lock, merge, persist, refresh, remove, setFlushMode |
| Method Detail |
|---|
KodoEntityManagerFactory getEntityManagerFactory()
getEntityManagerFactory in interface OpenJPAEntityManagerFetchPlan getFetchPlan()
getFetchPlan in interface OpenJPAEntityManagerGenerator getNamedGenerator(String name)
getNamedGenerator in interface OpenJPAEntityManagerGenerator getIdGenerator(Class forClass)
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.
getIdGenerator in interface OpenJPAEntityManager
Generator getFieldGenerator(Class forClass,
String fieldName)
Generator for the generated values of the specified
type, or null if the field is not generated.
getFieldGenerator in interface OpenJPAEntityManager
<T> Extent<T> createExtent(Class<T> cls,
boolean subs)
createExtent in interface OpenJPAEntityManagerKodoQuery createQuery(String query)
createQuery in interface EntityManagercreateQuery in interface OpenJPAEntityManagerKodoQuery createNamedQuery(String name)
createNamedQuery in interface EntityManagercreateNamedQuery in interface OpenJPAEntityManagerKodoQuery createNativeQuery(String sql)
createNativeQuery in interface EntityManagercreateNativeQuery in interface OpenJPAEntityManager
KodoQuery createNativeQuery(String sql,
Class resultClass)
createNativeQuery in interface EntityManagercreateNativeQuery in interface OpenJPAEntityManager
KodoQuery createNativeQuery(String sql,
String resultMapping)
createNativeQuery in interface EntityManagercreateNativeQuery in interface OpenJPAEntityManager
KodoQuery createQuery(String language,
String query)
createQuery in interface OpenJPAEntityManager
|
Kodo 4.2.0. (DEPRECATED) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This documentation is deprecated and will be removed in the next release of WebLogic Server.