FileDocCategorySizeDatePackage
ViolatedConstraintNameExtracter.javaAPI DocHibernate 3.2.5677Thu Nov 11 13:57:28 GMT 2004org.hibernate.exception

ViolatedConstraintNameExtracter

public interface ViolatedConstraintNameExtracter
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.
author
Steve Ebersole

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringextractConstraintName(java.sql.SQLException sqle)
Extract the name of the violated constraint from the given SQLException.

param
sqle The exception that was the result of the constraint violation.
return
The extracted constraint name.