java/nekurak.net-ejb/src/conf/persistence.xml
changeset 145 0efefbf5f8b6
parent 28 0f037986bb6b
     1.1 --- a/java/nekurak.net-ejb/src/conf/persistence.xml	Sat Jun 19 14:37:11 2010 +0200
     1.2 +++ b/java/nekurak.net-ejb/src/conf/persistence.xml	Sun Jun 20 14:46:47 2010 +0200
     1.3 @@ -1,17 +1,17 @@
     1.4  <?xml version="1.0" encoding="UTF-8"?>
     1.5  <persistence version="1.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_1_0.xsd">
     1.6 -  <persistence-unit name="nekurak.net-PU" transaction-type="JTA">
     1.7 -    <provider>org.hibernate.ejb.HibernatePersistence</provider>
     1.8 -    <jta-data-source>jdbc/nekurak</jta-data-source>
     1.9 -    <exclude-unlisted-classes>false</exclude-unlisted-classes>
    1.10 -    <properties>
    1.11 -      <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/>
    1.12 -      <property name="hibernate.hbm2ddl.auto" value="validate"/>
    1.13 -      <property name="hibernate.max_fetch_depth " value="3"/>
    1.14 -      <property name="hibernate.default_batch_fetch_size" value="16"/>
    1.15 -      <property name="hibernate.order_updates" value="true"/>
    1.16 -      <property name="hibernate.order_inserts" value="true"/>
    1.17 -      <property name="hibernate.show_sql" value="false"/>
    1.18 -    </properties>
    1.19 -  </persistence-unit>
    1.20 +	<persistence-unit name="nekurak.net-PU" transaction-type="JTA">
    1.21 +		<provider>org.hibernate.ejb.HibernatePersistence</provider>
    1.22 +		<jta-data-source>jdbc/nekurak</jta-data-source>
    1.23 +		<exclude-unlisted-classes>false</exclude-unlisted-classes>
    1.24 +		<properties>
    1.25 +			<property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/>
    1.26 +			<property name="hibernate.hbm2ddl.auto" value="validate"/>
    1.27 +			<property name="hibernate.max_fetch_depth " value="3"/>
    1.28 +			<property name="hibernate.default_batch_fetch_size" value="16"/>
    1.29 +			<property name="hibernate.order_updates" value="true"/>
    1.30 +			<property name="hibernate.order_inserts" value="true"/>
    1.31 +			<property name="hibernate.show_sql" value="false"/>
    1.32 +		</properties>
    1.33 +	</persistence-unit>
    1.34  </persistence>