We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3111325 commit fc35261Copy full SHA for fc35261
1 file changed
src/main/java/org/sqlite/hibernate/dialect/SQLiteDialect.java
@@ -246,7 +246,7 @@ public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() {
246
protected String doExtractConstraintName(SQLException sqle) throws NumberFormatException {
247
final int errorCode = JdbcExceptionHelper.extractErrorCode( sqle ) & 0xFF;
248
if (errorCode == SQLITE_CONSTRAINT) {
249
- return extractUsingTemplate( "constraint failed: ", "$", sqle.getMessage() );
+ return extractUsingTemplate( "constraint failed: ", "\n", sqle.getMessage() );
250
}
251
return null;
252
0 commit comments