ExampleTest

6

tests

0

failures

0

ignored

0.049s

duration

100%

successful

Test Duration Result
exampleBatchStatement() 0.005s passed
exampleDirectBatchInsert() 0.007s passed
exampleInsertSelect() 0.005s passed
examplePreparedStatementWithRowMapper() 0.008s passed
exampleRawBatchInsert() 0.017s passed
exampleRowBatchInsert() 0.007s passed
2025-01-18 18:22:18.287 [FINEST ] org.itsallcode.jdbc.batch.Batch executeBatch Execute batch of 2 after 2 took 1 ms 
2025-01-18 18:22:18.287 [FINE   ] org.itsallcode.jdbc.batch.Batch close Batch processing of 2 items with batch size 200000 completed in PT0.001608325S 
2025-01-18 18:22:18.288 [FINEST ] org.itsallcode.jdbc.batch.PreparedStatementBatchBuilder build Running insert statement 'insert into "NAMES" ("ID","NAME") values (?,?)'... 
2025-01-18 18:22:18.289 [FINEST ] org.itsallcode.jdbc.batch.Batch executeBatch Execute batch of 5 after 5 took 0 ms 
2025-01-18 18:22:18.289 [FINE   ] org.itsallcode.jdbc.batch.Batch close Batch processing of 5 items with batch size 100 completed in PT0.00078641S 
2025-01-18 18:22:18.290 [FINEST ] org.itsallcode.jdbc.ConnectionWrapper query Executing query 'select * from names order by id'... 
2025-01-18 18:22:18.297 [FINEST ] org.itsallcode.jdbc.batch.Batch executeBatch Execute batch of 2 after 2 took 0 ms 
2025-01-18 18:22:18.298 [FINE   ] org.itsallcode.jdbc.batch.Batch close Batch processing of 2 items with batch size 200000 completed in PT0.00110964S 
2025-01-18 18:22:18.298 [FINEST ] org.itsallcode.jdbc.batch.PreparedStatementBatchBuilder build Running insert statement 'insert into "NAMES" ("ID","NAME") values (?,?)'... 
2025-01-18 18:22:18.299 [FINEST ] org.itsallcode.jdbc.batch.Batch executeBatch Execute batch of 3 after 3 took 0 ms 
2025-01-18 18:22:18.299 [FINE   ] org.itsallcode.jdbc.batch.Batch close Batch processing of 3 items with batch size 100 completed in PT0.000561492S 
2025-01-18 18:22:18.299 [FINEST ] org.itsallcode.jdbc.batch.Batch executeBatch No items added to batch, skip 
2025-01-18 18:22:18.300 [FINE   ] org.itsallcode.jdbc.batch.Batch close Batch processing of 3 items with batch size 100 completed in PT0.000868472S 
2025-01-18 18:22:18.300 [FINEST ] org.itsallcode.jdbc.ConnectionWrapper query Executing query 'select * from names order by id'... 
2025-01-18 18:22:18.304 [FINEST ] org.itsallcode.jdbc.batch.Batch executeBatch Execute batch of 2 after 2 took 0 ms 
2025-01-18 18:22:18.304 [FINE   ] org.itsallcode.jdbc.batch.Batch close Batch processing of 2 items with batch size 200000 completed in PT0.000976222S 
2025-01-18 18:22:18.304 [FINEST ] org.itsallcode.jdbc.ConnectionWrapper query Executing query 'select * from names order by id'... 
2025-01-18 18:22:18.309 [FINEST ] org.itsallcode.jdbc.batch.Batch executeBatch Execute batch of 3 after 3 took 0 ms 
2025-01-18 18:22:18.310 [FINEST ] org.itsallcode.jdbc.batch.Batch executeBatch Execute batch of 2 after 5 took 0 ms 
2025-01-18 18:22:18.310 [FINE   ] org.itsallcode.jdbc.batch.Batch close Batch processing of 5 items with batch size 3 completed in PT0.001683143S 
2025-01-18 18:22:18.310 [FINEST ] org.itsallcode.jdbc.ConnectionWrapper query Executing query 'select count(*) from test'... 
2025-01-18 18:22:18.315 [FINEST ] org.itsallcode.jdbc.batch.Batch executeBatch Execute batch of 2 after 2 took 0 ms 
2025-01-18 18:22:18.315 [FINE   ] org.itsallcode.jdbc.batch.Batch close Batch processing of 2 items with batch size 200000 completed in PT0.000981511S 
2025-01-18 18:22:18.315 [FINEST ] org.itsallcode.jdbc.batch.PreparedStatementBatchBuilder build Running insert statement 'insert into "NAMES" ("ID","NAME") values (?,?)'... 
2025-01-18 18:22:18.317 [FINEST ] org.itsallcode.jdbc.batch.Batch executeBatch Execute batch of 5 after 5 took 0 ms 
2025-01-18 18:22:18.317 [FINE   ] org.itsallcode.jdbc.batch.Batch close Batch processing of 5 items with batch size 100 completed in PT0.001908823S 
2025-01-18 18:22:18.318 [FINEST ] org.itsallcode.jdbc.ConnectionWrapper query Executing query 'select * from names order by id'... 
2025-01-18 18:22:18.322 [FINEST ] org.itsallcode.jdbc.batch.Batch executeBatch Execute batch of 2 after 2 took 0 ms 
2025-01-18 18:22:18.322 [FINE   ] org.itsallcode.jdbc.batch.Batch close Batch processing of 2 items with batch size 200000 completed in PT0.000969469S 
2025-01-18 18:22:18.323 [FINEST ] org.itsallcode.jdbc.ConnectionWrapper query Executing query 'select id, name from names where id = ?'...