Module jakarta.data
Package jakarta.data.exceptions
package jakarta.data.exceptions
Common data access exceptions.
-
ClassDescriptionIndicates a connection-related failure that might be intermittent in nature.Thrown by the data provider when a problem occurs.Data access exception thrown when a result was expected to have at least one row (or element) but zero rows (or elements) were actually returned.Indicates that an entity cannot be inserted into the database because an entity with same unique identifier already exists in the database.A mapping exception is one thrown if an issue exists at runtime or build time in the data mapping.This exception is raised when execution of a repository method with a singular return type finds multiple results.Indicates a failure that is due to inconsistent state between the entity and the database.