Uses of Class
st.orm.PersistenceException
Packages that use PersistenceException
Package
Description
Foundation of the data model: the mapping annotations and the record interfaces.
Java client API implementation.
-
Uses of PersistenceException in st.orm
Subclasses of PersistenceException in st.ormModifier and TypeClassDescriptionclassThrown when a transaction block cannot open against the transaction state it finds:MANDATORYwithout a transaction,NEVERinside one, a joining block that states a stricter isolation level than the transaction it joins runs at, or a block that states retries but does not own its physical transaction.classThrown when a value breaks a rule of its table: a write the database refuses for a constraint, a null in a non-nullable field at write time, or a value thatvalidateOrThrowfinds too large for its column.classThrown when a cursor string cannot be turned into a position: it is malformed, was issued by an earlier cursor format, was issued for another ordering or codec registry, or carries a value of the wrong type.classThrown whengetSingleResultis executed on a query and there is more than one result from the query.classThrown whengetSingleResultis executed on a query and there is no result to return.classThrown when an optimistic locking conflict occurs: the row changed, or was removed, after the entity was read.classThrown when a statement Storm recognises as a write, anINSERT,UPDATEorDELETE, is executed inside a read-only transaction.classThrown when a transaction completion callback fails.classThrown when a transaction does not complete within its timeout.classThrown when a failure stems from concurrent activity, such as a deadlock, a serialization failure or an optimistic lock conflict.classThrown when a transaction completes with an unexpected rollback: the block finished normally, but the physical transaction was rolled back, for example because a joined inner scope marked it rollback-only.classThrown when a write affects a different number of rows than it expects: an insert, update or remove of an entity that affects no row, or a batch whose affected row count differs from its size. -
Uses of PersistenceException in st.orm.template.impl
Methods in st.orm.template.impl that throw PersistenceException