See: Description
Exception | Description |
---|---|
ClassNotPersistenceCapableException |
A ClassNotPersistenceCapableException is thrown if an attempt is
made to persist an object whose class is not persistence-capable.
|
ConnectionInUseException |
An ConnectionInUseException is thrown if an operation is attempted
that requires a new database connection (such as Transaction.begin()) and a
previously obtained database connection (such as for non-transactional read
or write) is still in-use.
|
NoPersistenceInformationException |
Exception thrown when a class is required to have persistence information (metadata/annotations) yet none
can be found.
|
TransactionActiveException |
An TransactionActiveException is thrown if a transaction is already
active and an operation is performed that requires that a transaction not be
active (such as beginning a transaction).
|
TransactionCommitingException |
An TransactionCommiting is thrown if a transaction is commiting or
rolling back and an operation is performed that changes the transaction state or
behaviour (such as beginning setRetainValues).
|
TransactionNotActiveException |
An TransactionNotActiveException is thrown if a transaction is not
active and an operation is performed that requires that a transaction be
active (such as committing a transaction).
|
TransactionNotReadableException |
An TransactionNotReadableException is thrown if an operation needs either of
an active transaction or non-transactional read and neither is true.
|
TransactionNotWritableException |
An TransactionNotReadableException is thrown if an operation needs either of
an active transaction or non-transactional read and neither is true.
|
Copyright © 2020. All rights reserved.