Package org.hibernate

Class StaleObjectStateException

  • All Implemented Interfaces:
    Serializable

    public class StaleObjectStateException
    extends StaleStateException
    A specialized StaleStateException that carries information about the particular entity instance that was the source of the failure.
    See Also:
    Serialized Form
    • Constructor Detail

      • StaleObjectStateException

        public StaleObjectStateException​(String entityName,
                                         Object identifier)
        Constructs a StaleObjectStateException using the supplied information.
        Parameters:
        entityName - The name of the entity
        identifier - The identifier of the entity