public void testBatchSize() throws Exception {
FullTextSession s = Search.getFullTextSession( openSession() );
Transaction tx = s.beginTransaction();
int loop = 14;
for (int i = 0; i < loop; i++) {
Statement statmt = s.connection().createStatement();
statmt.executeUpdate( "insert into Domain(id, name) values( + "
+ ( i + 1 ) + ", 'sponge" + i + "')" );
statmt.executeUpdate( "insert into Email(id, title, body, header, domain_id) values( + "
+ ( i + 1 ) + ", 'Bob Sponge', 'Meet the guys who create the software', 'nope', " + ( i + 1 ) +")" );
statmt.close();