diff --git a/cfg/DestinationDBHibernate.cfg.xml b/cfg/DestinationDBHibernate.cfg.xml index 28b14d3..61a9ac8 100644 --- a/cfg/DestinationDBHibernate.cfg.xml +++ b/cfg/DestinationDBHibernate.cfg.xml @@ -6,11 +6,11 @@ jdbc:postgresql://localhost/testdb gcube d4science2 - + org.hibernate.dialect.PostgreSQLDialect org.hibernate.transaction.JDBCTransactionFactory 0 - 10 + 1 0 1 thread diff --git a/src/main/java/org/gcube/dataanalysis/ecoengine/datatypes/enumtypes/DatabaseParameters.java b/src/main/java/org/gcube/dataanalysis/ecoengine/datatypes/enumtypes/DatabaseParameters.java index e2809c8..9ef8835 100644 --- a/src/main/java/org/gcube/dataanalysis/ecoengine/datatypes/enumtypes/DatabaseParameters.java +++ b/src/main/java/org/gcube/dataanalysis/ecoengine/datatypes/enumtypes/DatabaseParameters.java @@ -7,5 +7,11 @@ public enum DatabaseParameters { DATABASEURL, DATABASEDRIVER, DATABASEDIALECT, - DATABASETABLESPACE + DATABASETABLESPACE, + REMOTEDATABASEURL, + REMOTEDATABASEUSERNAME, + REMOTEDATABASEPASSWORD, + REMOTEDATABASEDRIVER, + REMOTEDATABASEDIALECT + }