1 Reply Latest reply on Aug 22, 2010 6:17 AM by adamw

    Batching up statements issued to database

    stephaniepau

      Is it possible to batch up statements issued to the database? Currently we are saving thousands of objects in one hibernate save operation - we have batch this up by setting hibernate.jdbc.batch_size. All these objects are also audited by Envers, subsequently we are seeing lots of statements issued to insert, select and update history. I would like to batch issue these statements to save database roundtrips. Is there something I have missed in configuration?