Printing hibernate.jdbc.batch_size

Is there a way to print the batch_size that was set when configuring the sessionFactory's hibernate properties? For Example, throughout my code I can say: sessionFactory.getCurrentSession().getTransaction().getTimeout()

Is there a way to print the batch_size (something like this):

sessionFactory.getCurrentSession(.getTransaction().getBatchSize()


#java #hibernate

3 Likes1.85 GEEK