Code examples for JDBCException

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
38:	ex.getSQLState() + "]; error code [" + ex.getErrorCode() + "]; " + ex.getMessage(), ex); 
Full Snippet Info
9
CodeRank
37:	super("JDBC exception on Hibernate data access: SQLException for SQL [" + ex.getSQL() + "]; SQL state [" + 
38:	ex.getSQLState() + "]; error code [" + ex.getErrorCode() + "]; " + ex.getMessage(), ex); 
Full Snippet Info
9
CodeRank
88:	"Hibernate operation: " + jdbcEx.getMessage(), jdbcEx.getSQL(), jdbcEx.getSQLException()); 
Full Snippet Info
8
CodeRank
38:	import org.hibernate.TransientObjectException; 
Full Snippet Info
9
CodeRank
163:	"Hibernate flushing: " + jdbcEx.getMessage(), jdbcEx.getSQL(), jdbcEx.getSQLException()); 
Full Snippet Info
8
CodeRank
426:	return translator.translate("Hibernate operation: " + ex.getMessage(), ex.getSQL(), ex.getSQLException()); 
Full Snippet Info
8
CodeRank
189:	String message = j.getMessage(); 
190:	Throwable cause = j.getCause(); 
-
194:	return CFMLEngineFactory.getInstance().getExceptionUtil().createDatabaseException(message, new SQLImpl(j.getSQL())); 
Full Snippet Info
6
CodeRank
115:	if ( ! ( getDialect() instanceof SQLServerDialect && e.getErrorCode() == 3960 ) ) { 
Full Snippet Info
4
CodeRank