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.orm
    Modifier and Type
    Class
    Description
    class 
    Thrown when a transaction block cannot open against the transaction state it finds: MANDATORY without a transaction, NEVER inside 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.
    class 
    Thrown 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 that validateOrThrow finds too large for its column.
    class 
    Thrown 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.
    class 
    Thrown when getSingleResult is executed on a query and there is more than one result from the query.
    class 
    Thrown when getSingleResult is executed on a query and there is no result to return.
    class 
    Thrown when an optimistic locking conflict occurs: the row changed, or was removed, after the entity was read.
    class 
    Thrown when a statement Storm recognises as a write, an INSERT, UPDATE or DELETE, is executed inside a read-only transaction.
    class 
    Thrown when a transaction completion callback fails.
    class 
    Thrown when a transaction does not complete within its timeout.
    class 
    Thrown when a failure stems from concurrent activity, such as a deadlock, a serialization failure or an optimistic lock conflict.
    class 
    Thrown 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.
    class 
    Thrown 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

    Modifier and Type
    Method
    Description
    QueryTemplateImpl.query(StringTemplatePREVIEW template)