I'm using Hibernate 3.2 and StatelessSession interface. I set the jdbc batch size to 50.
In a for loop, I insert objects to the Oracle database. My question is, does the StatelessSession interface support JDBC batch processing?
I read the documentation about batch processing and the example given there only used the regular Session interface.
If I use the StatelessSession, will my inserts be put in a batch and will the "hibernate.jdbc.batch_size" parameter will be used to define the batch size?
Thanks,
Ali
|