aboutsummaryrefslogtreecommitdiffstats
path: root/ECOMP-PAP-REST/src/main/java/org/openecomp/policy/pap/xacml/rest/HibernateSession.java
diff options
context:
space:
mode:
authorrb7147 <rb7147@att.com>2017-06-16 14:36:01 -0400
committerrb7147 <rb7147@att.com>2017-06-16 14:36:47 -0400
commit620d69f26cbbea1deb5000c7a341e8012a5ad080 (patch)
tree3f8e2881dfa495e150fdef62db1b85d2b4605718 /ECOMP-PAP-REST/src/main/java/org/openecomp/policy/pap/xacml/rest/HibernateSession.java
parenta084c4de015521f842a3fef0d7f1f7c340237bc3 (diff)
[Policy-24] Updated the Database Configuration
Change-Id: Ie358df4bfef5fb9cfe136f52a9d35f119c55bc97 Signed-off-by: rb7147 <rb7147@att.com>
Diffstat (limited to 'ECOMP-PAP-REST/src/main/java/org/openecomp/policy/pap/xacml/rest/HibernateSession.java')
-rw-r--r--ECOMP-PAP-REST/src/main/java/org/openecomp/policy/pap/xacml/rest/HibernateSession.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ECOMP-PAP-REST/src/main/java/org/openecomp/policy/pap/xacml/rest/HibernateSession.java b/ECOMP-PAP-REST/src/main/java/org/openecomp/policy/pap/xacml/rest/HibernateSession.java
index 2aca54cc7..e2fa702cb 100644
--- a/ECOMP-PAP-REST/src/main/java/org/openecomp/policy/pap/xacml/rest/HibernateSession.java
+++ b/ECOMP-PAP-REST/src/main/java/org/openecomp/policy/pap/xacml/rest/HibernateSession.java
@@ -48,7 +48,7 @@ public class HibernateSession{
configuration.setProperty("hibernate.connection.autocommit", "true");
configuration.setProperty("hibernate.c3p0.min_size", "5");
configuration.setProperty("hibernate.c3p0.max_size", "200");
- configuration.setProperty("hibernate.c3p0.timeout", "3600");
+ configuration.setProperty("hibernate.c3p0.timeout", "2147483");
configuration.setProperty("hibernate.c3p0.idle_test_period", "3600");
configuration.setProperty("hibernate.cache.use.query_cache", "false");
configuration.setProperty("hibernate.cache.use_second_level_cache", "false");