Remove spacing in insert and update statements

This commit is contained in:
Christian Beikov 2022-11-29 09:38:22 +01:00
parent 8d3adc3123
commit ad019fccec
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ public class InsertOrderingWithBidirectionalOneToManyFlushProblem extends BaseIn
// output: [top1]
session.flush();
verifyContainsBatches( new Batch( "insert into TopEntity (name, id) values (?, ?)" ) );
verifyContainsBatches( new Batch( "insert into TopEntity (name,id) values (?,?)" ) );
MiddleEntity middle1 = new MiddleEntity();
@ -96,7 +96,7 @@ public class InsertOrderingWithBidirectionalOneToManyFlushProblem extends BaseIn
clearBatches();
session.flush();
verifyContainsBatches( new Batch( "insert into TopEntity (name, id) values (?, ?)" ) );
verifyContainsBatches( new Batch( "insert into TopEntity (name,id) values (?,?)" ) );
MiddleEntity middle1 = new MiddleEntity();

View File

@ -89,7 +89,7 @@ public class SessionJdbcBatchTest
session.close();
}
PreparedStatement preparedStatement = connectionProvider.getPreparedStatement(
"insert into Event (name, id) values (?, ?)" );
"insert into Event (name,id) values (?,?)" );
verify( preparedStatement, times( 5 ) ).addBatch();
verify( preparedStatement, times( 3 ) ).executeBatch();
}