[hibernate-dev] Where are the batched fetch statements generated?

Clemens Eisserer linuxhippy at gmail.com
Thu May 3 06:22:06 EDT 2012


Sorry for posting to the developers list, I have tried all other
places dedicated to end-user support, however it seems the question is
too in-depth :/

Is it possible to disable prepared statement caching for batched
fetching, so I end up with a single query in the <
default_batch_fetch_size case only instead of the fixed-size batch
loading hibernate does by default?
If its not configureable, I would be really grateful for a pointer to
the source where that caching and sub-batch-by-sub-batch loading is

I am latency bound with a low-loaded postgresql-server, so I would be
happy if I could trade lower server load with less roundtrips.

Thank you in advance, Clemens

More information about the hibernate-dev mailing list