rsanchez
2014-10-27 7f5a20aa40c00fea42c68211f311b6b24ad64c9e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?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="localdb" transaction-type="RESOURCE_LOCAL">
       <description>SeCuris LocalDB</description>
       <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
   <!--     <jta-data-source>java:/DefaultDS</jta-data-source>   -->
       
<!--         <class>net.curisit.securis.db.UserSettingsUnits</class>   -->
       <properties>
           <property name="javax.persistence.jdbc.driver" value="org.h2.Driver" />
<!--             <property name="javax.persistence.jdbc.url" value="jdbc:h2:~/.SeCuris/db/securis" />  -->
           <property name="javax.persistence.jdbc.user" value="curis" />
           <property name="javax.persistence.jdbc.password" value="53curi5" />
           <property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect" />
           <property name="connection.provider_class" value="org.hibernate.connection.C3P0ConnectionProvider" />        
           <property name="hibernate.c3p0.acquire_increment" value="1" />
           <property name="hibernate.c3p0.idle_test_period" value="60" />
           <property name="hibernate.c3p0.min_size" value="1" />
           <property name="hibernate.c3p0.max_size" value="10" />
           <property name="hibernate.c3p0.max_statements" value="50" />
           <property name="hibernate.c3p0.timeout" value="0" />
           <property name="hibernate.c3p0.acquireRetryAttempts" value="1" />
           <property name="hibernate.c3p0.acquireRetryDelay" value="250" />
           <property name="hibernate.show_sql" value="false" />
       </properties>
       
   </persistence-unit>
</persistence>