HHH-11467 Replace incorrect use of StringHelper.WHITESPACE with single space.
This prevents an issue with Firebird where formfeed (\f or 0x0c) is not considered valid whitespace in a query.
This commit is contained in:
parent
457a181347
commit
3c26ae7302
|
@ -960,9 +960,9 @@ public abstract class CollectionBinder {
|
|||
String clause = whereOnCollection.clause();
|
||||
if ( StringHelper.isNotEmpty( clause ) ) {
|
||||
if ( whereBuffer.length() > 0 ) {
|
||||
whereBuffer.append( StringHelper.WHITESPACE );
|
||||
whereBuffer.append( ' ' );
|
||||
whereBuffer.append( Junction.Nature.AND.getOperator() );
|
||||
whereBuffer.append( StringHelper.WHITESPACE );
|
||||
whereBuffer.append( ' ' );
|
||||
}
|
||||
whereBuffer.append( clause );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue