Package | Description |
---|---|
org.apache.openjpa.kernel.jpql |
JPA Query Language Support
Allow any spec or store to use JPQL.
|
org.apache.openjpa.persistence |
OpenJPA JPA
This package provides an JPA facade to OpenJPA.
|
org.apache.openjpa.util |
OpenJPA Utilities
This package provides utilities to facilitate the handling of second
class objects and OpenJPA object ids.
|
org.apache.openjpa.validation |
Modifier and Type | Class and Description |
---|---|
class |
ParseException
Signifies that a lexical error occurred when parsing the JPQL statement.
|
Modifier and Type | Class and Description |
---|---|
class |
ArgumentException
Extended
IllegalArgumentException . |
class |
EntityExistsException
Conflict with existing entity.
|
class |
EntityNotFoundException
Missing entity.
|
class |
LockTimeoutException
Pessimistic lock timeout violation.
|
class |
OptimisticLockException
Optimistic concurrency violation.
|
class |
PersistenceException
General persistence exception.
|
class |
PessimisticLockException
Pessimistic concurrency violation.
|
class |
QueryTimeoutException
Query timeout violation.
|
class |
RollbackException
Rollback occurred on attempt to commit.
|
class |
TransactionRequiredException
Transaction required.
|
Modifier and Type | Class and Description |
---|---|
class |
CallbackException
Exception type thrown when an error occurs in a callback.
|
class |
GeneralException
General exception type.
|
class |
InternalException
Exception type for internal errors.
|
class |
InvalidStateException
Exception type thrown when attempting to execute an operation that
is not allowed by the current state.
|
class |
LockException
Exception indicating that locks on one or more objects could not be acquired.
|
class |
MetaDataException
Exception type reserved for missing or invalid metadata.
|
class |
NonUniqueResultException
Exception type thrown when a query was configured to return
a single result, and multiple results were found.
|
class |
NoResultException
Exception type thrown when a query was configured to return
a single result, and no result was found.
|
class |
NoTransactionException
Exception type thrown when attempting a transactional operation without
an active transaction.
|
class |
ObjectExistsException
Exception type reserved for conflicts with existing objects.
|
class |
ObjectNotFoundException
Exception type reserved for failed object lookups.
|
class |
OpenJPAException
Exception type for all OpenJPA exceptions.
|
class |
OptimisticException
Exception type for optimistic concurrency violations.
|
class |
QueryException
Exception indicating that a query timeout occurred.
|
class |
ReferentialIntegrityException
Exception type reserved for violations of integrity constraints.
|
class |
StoreException
Base exception for data store errors.
|
class |
UnsupportedException
Exception type for attempts to perform unsupported operations.
|
class |
UserException
Base exception type for user errors.
|
class |
WrappedException
Identifiable exception type which wraps an internal runtime exception.
|
Modifier and Type | Method and Description |
---|---|
static void |
Exceptions.printNestedThrowables(ExceptionInfo e,
PrintStream out)
Print the stack trace of the exception's nested throwables.
|
static void |
Exceptions.printNestedThrowables(ExceptionInfo e,
PrintWriter out)
Print the stack trace of the exception's nested throwables.
|
static String |
Exceptions.toString(ExceptionInfo e)
Stringify the given exception.
|
Modifier and Type | Class and Description |
---|---|
class |
ValidationException |
class |
ValidationUnavailableException |
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.