java/nekurak.net-ejb/src/conf/persistence.xml
author František Kučera <franta-hg@frantovo.cz>
Sun Jun 20 14:46:47 2010 +0200 (2010-06-20)
changeset 145 0efefbf5f8b6
parent 28 0f037986bb6b
permissions -rw-r--r--
Formátování kódu, důsledné používání tabulátorů, drobné úpravy, StringBuilder
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <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">
     3 	<persistence-unit name="nekurak.net-PU" transaction-type="JTA">
     4 		<provider>org.hibernate.ejb.HibernatePersistence</provider>
     5 		<jta-data-source>jdbc/nekurak</jta-data-source>
     6 		<exclude-unlisted-classes>false</exclude-unlisted-classes>
     7 		<properties>
     8 			<property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/>
     9 			<property name="hibernate.hbm2ddl.auto" value="validate"/>
    10 			<property name="hibernate.max_fetch_depth " value="3"/>
    11 			<property name="hibernate.default_batch_fetch_size" value="16"/>
    12 			<property name="hibernate.order_updates" value="true"/>
    13 			<property name="hibernate.order_inserts" value="true"/>
    14 			<property name="hibernate.show_sql" value="false"/>
    15 		</properties>
    16 	</persistence-unit>
    17 </persistence>