Package | Description |
---|---|
org.apache.openjpa.datacache |
OpenJPA Data Cache
OpenJPA's data and query caching frameworks.
|
org.apache.openjpa.jdbc.kernel |
OpenJPA-JDBC Runtime Kernel
Runtime services for the JDBC OpenJPA implementation.
|
org.apache.openjpa.kernel |
OpenJPA Runtime Kernel
This package provides a common OpenJPA runtime environment that can be
adapted for use with various data store mechanisms.
|
org.apache.openjpa.persistence |
OpenJPA JPA
This package provides an JPA facade to OpenJPA.
|
Constructor and Description |
---|
DelegatingDataCache(DataCache cache,
RuntimeExceptionTranslator trans) |
DelegatingQueryCache(QueryCache cache,
RuntimeExceptionTranslator trans) |
Constructor and Description |
---|
DelegatingJDBCFetchConfiguration(JDBCFetchConfiguration delegate,
RuntimeExceptionTranslator trans)
Constructor; supply delegate and exception translator.
|
Modifier and Type | Method and Description |
---|---|
void |
Broker.setImplicitBehavior(OpCallbacks call,
RuntimeExceptionTranslator ex)
Set the broker's behavior for implicit actions such as flushing,
automatic detachment, and exceptions thrown by managed instances outside
a broker operation.
|
void |
BrokerImpl.setImplicitBehavior(OpCallbacks call,
RuntimeExceptionTranslator ex) |
void |
DelegatingBroker.setImplicitBehavior(OpCallbacks call,
RuntimeExceptionTranslator ex) |
Constructor and Description |
---|
DelegatingBroker(Broker broker,
RuntimeExceptionTranslator trans)
Constructor; supply delegate and exception translator.
|
DelegatingBrokerFactory(BrokerFactory factory,
RuntimeExceptionTranslator trans)
Constructor; supply delegate and exception translator.
|
DelegatingExtent(Extent<T> extent,
RuntimeExceptionTranslator trans)
Constructor; supply delegate and exception translator.
|
DelegatingFetchConfiguration(FetchConfiguration fetch,
RuntimeExceptionTranslator trans)
Constructor; supply delegate and exception translator.
|
DelegatingQuery(Query query,
RuntimeExceptionTranslator trans)
Constructor; supply delegate and exception translator.
|
DelegatingResultList(ResultList<T> list,
RuntimeExceptionTranslator trans)
Constructor; supply delegate and exception translator.
|
DelegatingSeq(Seq seq,
RuntimeExceptionTranslator trans)
Constructor; supply delegate and exception translator.
|
DistinctResultList(ResultList<E> list,
RuntimeExceptionTranslator trans) |
Modifier and Type | Field and Description |
---|---|
protected RuntimeExceptionTranslator |
EntityManagerImpl._ret |
static RuntimeExceptionTranslator |
PersistenceExceptions.TRANSLATOR |
Modifier and Type | Method and Description |
---|---|
static RuntimeExceptionTranslator |
PersistenceExceptions.getRollbackTranslator(OpenJPAEntityManager em)
Returns a
RuntimeExceptionTranslator that will perform
the correct exception translation as well as roll back the
current transaction when for all but NoResultException
and NonUniqueResultException in accordance with
section 3.7 of the EJB 3.0 specification. |
Constructor and Description |
---|
QueryImpl(EntityManagerImpl em,
RuntimeExceptionTranslator ret,
Query query)
Deprecated.
|
QueryImpl(EntityManagerImpl em,
RuntimeExceptionTranslator ret,
Query query,
QueryMetaData qmd)
Constructor; supply factory exception translator and delegate.
|
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.