Skip to content

Commit b20aa54

Browse files
committed
more consistent exception message format
1 parent fed820b commit b20aa54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/MutationStatementPreparerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public PreparedStatement prepareStatement() {
109109
return preparedStatement;
110110
}
111111
catch (SQLException e) {
112-
throw sqlExceptionHelper().convert( e, "could not prepare statement", sql );
112+
throw sqlExceptionHelper().convert( e, "Could not prepare statement", sql );
113113
}
114114
}
115115

hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/StatementPreparerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public PreparedStatement prepareStatement() {
193193
return preparedStatement;
194194
}
195195
catch ( SQLException e ) {
196-
throw sqlExceptionHelper().convert( e, "could not prepare statement", sql );
196+
throw sqlExceptionHelper().convert( e, "Could not prepare statement", sql );
197197
}
198198
}
199199

0 commit comments

Comments
 (0)