2013-03-20 20:33:42 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<persistence version="2.0"
|
|
|
|
|
xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
|
xsi:schemaLocation="
|
|
|
|
|
http://java.sun.com/xml/ns/persistence
|
|
|
|
|
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
|
|
|
|
|
<persistence-unit name="primary">
|
2013-04-08 13:06:53 +02:00
|
|
|
<provider>org.hibernate.ejb.HibernatePersistence</provider>
|
2013-03-21 16:22:58 +01:00
|
|
|
<jta-data-source>${jpa.datasource.name}</jta-data-source>
|
2013-03-20 20:33:42 +01:00
|
|
|
<properties>
|
|
|
|
|
<property name="hibernate.hbm2ddl.auto" value="update" />
|
2013-03-27 10:46:07 +01:00
|
|
|
<property name="hibernate.show_sql" value="${jpa.show_sql}" />
|
2013-04-08 13:06:53 +02:00
|
|
|
<property name="hibernate.default_batch_fetch_size" value="100" />
|
2013-03-20 20:33:42 +01:00
|
|
|
</properties>
|
|
|
|
|
</persistence-unit>
|
|
|
|
|
</persistence>
|