violatedconstraintnameextracter.java
来自「介绍了hibernate的入门有一些基本常用的事例」· Java 代码 · 共 21 行
JAVA
21 行
// $Id: ViolatedConstraintNameExtracter.java,v 1.1 2004/11/11 20:57:23 steveebersole Exp $package org.hibernate.exception;import java.sql.SQLException;/** * 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 */public interface ViolatedConstraintNameExtracter { /** * 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. */ public String extractConstraintName(SQLException sqle);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?