Changing hibernate batch size programatically
Posted
by user179056
on Stack Overflow
See other posts from Stack Overflow
or by user179056
Published on 2010-04-28T12:11:21Z
Indexed on
2010/04/28
12:13 UTC
Read the original article
Hit count: 203
hibernate
Hello, Is possible to change hibernate.jdbc.batch_size programmatically? I understand hibernate.jdbc.batch_size is a application level parameter, wanted to know if i can use it specifically for certain HQL inserts and not others. I would change the code only for those HQL inserts
The big picture is that i need to introduce batch inserts to make the web application performant in some scenarios, but i do not want to jeopardize the normal inserts which work right now.
Any pointers would help
thanks Sameer
© Stack Overflow or respective owner