Issue Type: Bug Bug
Affects Versions: 4.0.1
Assignee: Unassigned
Components: core
Created: 15/Oct/12 1:18 PM
Description:

I have the following configuration. Hibernate seems to be missing the batch configuration.

<persistence-unit name="hbrnt" transaction-type="RESOURCE_LOCAL">
<provider>org.hibernate.ejb.HibernatePersistence</provider>

<class>org.batoo.jpa.benchmark.Country</class>
<class>org.batoo.jpa.benchmark.Person</class>
<class>org.batoo.jpa.benchmark.Address</class>
<class>org.batoo.jpa.benchmark.Phone</class>

<properties>
<property name="hibernate.hbm2ddl.auto" value="update" />
<property name="hibernate.connection.driver_class" value="org.apache.derby.jdbc.Driver40" />
<property name="hibernate.connection.url" value="jdbc:derby:memory:H;create=true" />
<property name="hibernate.connection.username" value="sa" />
<property name="hibernate.connection.password" value="" />

<!--
As per the Hibernate Lead Developer Request
The following parameters suggested to be added

http://highscalability.com/blog/2012/10/9/batoo-jpa-the-new-jpa-implementation-that-runs-over-15-times.html
-->
<property name="hibernate.order_updates" value="true"/>
<property name="hibernate.order_inserts" value="true"/>
<property name="hibernate.jdbc.fetch_size" value="50"/>
<property name="hibernate.jdbc.batch_size" value="50"/>
<property name="hibernate.id.new_generator_mappings" value="true"/>
</properties>
</persistence-unit>

Environment: J2SE
Project: Hibernate ORM
Priority: Major Major
Reporter: Hasan Ceylan
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira