Class RolledBackUpdateException

  • All Implemented Interfaces:
    Serializable

    public class RolledBackUpdateException
    extends org.apache.metamodel.MetaModelException
    Represents an exception during JdbcDataContext.executeUpdate(org.apache.metamodel.UpdateScript) which was rolled back at the JDBC layer. This particular exception type can typically be catched and the update can be retried to retry the transaction (assuming that the script is designed in a way that makes it idempotent and has not side-effects on state outside of the JdbcDataContext). Note that the cause of this will always be a SQLException since it only applies to JDBC.
    See Also:
    Serialized Form