Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » exception » [javadoc | source]
org.hibernate.exception
public interface: ViolatedConstraintNameExtracter [javadoc | source]

All Known Implementing Classes:
    ConstraintNameExtracter, TemplatedViolatedConstraintNameExtracter

Defines a contract for implementations that can extract the name of a violated constraint from a SQLException that is the result of that constraint violation.
Method from org.hibernate.exception.ViolatedConstraintNameExtracter Summary:
extractConstraintName
Method from org.hibernate.exception.ViolatedConstraintNameExtracter Detail:
 public String extractConstraintName(SQLException sqle)
    Extract the name of the violated constraint from the given SQLException.