file DestinationDBHibernate modified to insert the property on the timeout

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@98969 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Loredana Liccardo 2014-07-25 08:14:40 +00:00
parent 4bb57230d7
commit 4317e3161b
2 changed files with 6 additions and 2 deletions

View File

@ -23,5 +23,6 @@
</attributes>
</classpathentry>
<classpathentry kind="var" path="GLOBUS_LOCATION"/>
<classpathentry kind="var" path="KEYS"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>

View File

@ -8,13 +8,16 @@
<property name="connection.url">jdbc:postgresql://obis2.i-marine.research-infrastructures.eu:5432/obis</property>
<property name="connection.username">gcube</property> -->
<property name="connection.password">d4science2</property>
<!-- <property name="dialect">org.hibernatespatial.postgis.PostgisDialect</property>-->
<property name="connection.pool_size">1</property>
<property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
<property name="c3p0.timeout">0</property>
<property name="c3p0.max_size">1</property>
<property name="c3p0.max_statements">0</property>
<property name="c3p0.min_size">1</property>
<property name="c3p0.checkoutTimeout">1</property>
<property name="current_session_context_class">thread</property>
</session-factory>
</hibernate-configuration>