This commit is contained in:
Gianpaolo Coro 2013-03-06 10:18:07 +00:00
parent e185cf50a0
commit 8e58669339
2 changed files with 9 additions and 3 deletions

View File

@ -6,11 +6,11 @@
<property name="connection.url">jdbc:postgresql://localhost/testdb</property> <property name="connection.url">jdbc:postgresql://localhost/testdb</property>
<property name="connection.username">gcube</property> <property name="connection.username">gcube</property>
<property name="connection.password">d4science2</property> <property name="connection.password">d4science2</property>
<!-- <property name="dialect">org.hibernatespatial.postgis.PostgisDialect</property>--> <!-- <property name="dialect">org.hibernatespatial.postgis.PostgisDialect</property>-->
<property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property> <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property> <property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
<property name="c3p0.timeout">0</property> <property name="c3p0.timeout">0</property>
<property name="c3p0.max_size">10</property> <property name="c3p0.max_size">1</property>
<property name="c3p0.max_statements">0</property> <property name="c3p0.max_statements">0</property>
<property name="c3p0.min_size">1</property> <property name="c3p0.min_size">1</property>
<property name="current_session_context_class">thread</property> <property name="current_session_context_class">thread</property>

View File

@ -7,5 +7,11 @@ public enum DatabaseParameters {
DATABASEURL, DATABASEURL,
DATABASEDRIVER, DATABASEDRIVER,
DATABASEDIALECT, DATABASEDIALECT,
DATABASETABLESPACE DATABASETABLESPACE,
REMOTEDATABASEURL,
REMOTEDATABASEUSERNAME,
REMOTEDATABASEPASSWORD,
REMOTEDATABASEDRIVER,
REMOTEDATABASEDIALECT
} }