HHH-14227 Some additional typos and message improvements
This commit is contained in:
parent
de6736ba32
commit
9de5e3e005
|
@ -1101,7 +1101,7 @@ public class ActionQueue {
|
|||
}
|
||||
|
||||
/**
|
||||
* Check if the this {@link BatchIdentifier} has a parent or grand parent
|
||||
* Check if this {@link BatchIdentifier} has a parent or grand parent
|
||||
* matching the given {@link BatchIdentifier} reference.
|
||||
*
|
||||
* @param batchIdentifier {@link BatchIdentifier} reference
|
||||
|
|
|
@ -157,11 +157,11 @@ public class PreparedStatementSpyConnectionProvider extends ConnectionProviderDe
|
|||
List<PreparedStatement> preparedStatements = getPreparedStatements( sql );
|
||||
if ( preparedStatements.isEmpty() ) {
|
||||
throw new IllegalArgumentException(
|
||||
"There is no PreparedStatement for this SQL statement " + sql );
|
||||
"There is no PreparedStatement for this SQL statement: " + sql );
|
||||
}
|
||||
else if ( preparedStatements.size() > 1 ) {
|
||||
throw new IllegalArgumentException( "There are " + preparedStatements
|
||||
.size() + " PreparedStatements for this SQL statement " + sql );
|
||||
.size() + " PreparedStatements for this SQL statement: " + sql );
|
||||
}
|
||||
return preparedStatements.get( 0 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue