1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/java/HibernateDemo1/HibernateDemo1-ejb/src/conf/persistence.xml Sat Mar 14 22:14:59 2009 +0100
1.3 @@ -0,0 +1,19 @@
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="POSZ-ejbPU" transaction-type="JTA">
1.7 + <provider>org.hibernate.ejb.HibernatePersistence</provider>
1.8 + <jta-data-source>jdbc/hrisnicispameri</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="create" />
1.13 + <property name="hibernate.cache.provider_class" value="org.hibernate.cache.EhCacheProvider" />
1.14 + <property name="hibernate.cache.use_query_cache" value="true" />
1.15 + <property name="hibernate.max_fetch_depth " value="3" />
1.16 + <property name="hibernate.default_batch_fetch_size" value="16" />
1.17 + <property name="hibernate.order_updates" value="true" />
1.18 + <property name="hibernate.order_inserts" value="true" />
1.19 + <property name="hibernate.show_sql" value="false"/>
1.20 + </properties>
1.21 + </persistence-unit>
1.22 +</persistence>
1.23 \ No newline at end of file