Remove spacing in insert and update statements
This commit is contained in:
parent
8d3adc3123
commit
ad019fccec
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue