接口 ViolatedConstraintNameExtracter
-
public interface ViolatedConstraintNameExtracterDefines a contract for implementations that can extract the name of a violated constraint from a SQLException that is the result of that constraint violation.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 StringextractConstraintName(SQLException sqle)Extract the name of the violated constraint from the given SQLException.
-
-
-
方法详细资料
-
extractConstraintName
String extractConstraintName(SQLException sqle)
Extract the name of the violated constraint from the given SQLException.- 参数:
sqle- The exception that was the result of the constraint violation.- 返回:
- The extracted constraint name.
-
-