title: Can I use different Hibernate batch sizes depending on the entity or table?
body: <p>I am wondering if it
  a) makes sense and
  b) is possible
  to use different create batch sizes for different entities?</p>
  <p>Example:</p>
  <ul>
  <li>I have one table <code>A</code> with millions or rows, but only a few small columns. For this table I could set the batch value to about 100 or even 1000.</li>
  <li>However, another table <code>B</code> contains a column with some thousand bytes of data which are filled on insert. For this table I thinks I should only use a batch value between 1 and 10.</li>
  </ul>
  <p>Maybe I can use an own implementation of <code>org.hibernate.engine.jdbc.batch.spi.BatchBuilder</code> where I set the batch size in dependence of the entity to be inserted? (By setting the hibernate property <code>hibernate.jdbc.batch.builder</code>.)</p>
  <p>Does that sound logical?</p>