Package | Description |
---|---|
org.apache.openjpa.datacache |
OpenJPA Data Cache
|
org.apache.openjpa.jdbc.kernel |
OpenJPA-JDBC Runtime Kernel
|
org.apache.openjpa.kernel |
OpenJPA Runtime Kernel
|
org.apache.openjpa.persistence |
OpenJPA JPA
|
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 |
DelegatingBroker.setImplicitBehavior(OpCallbacks call,
RuntimeExceptionTranslator ex) |
void |
BrokerImpl.setImplicitBehavior(OpCallbacks call,
RuntimeExceptionTranslator ex) |
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.
|
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–2017 Apache Software Foundation. All rights reserved.