summaryrefslogtreecommitdiffstats
path: root/POLICY-SDK-APP/src
diff options
context:
space:
mode:
Diffstat (limited to 'POLICY-SDK-APP/src')
-rw-r--r--POLICY-SDK-APP/src/main/java/org/onap/policy/conf/HibernateSession.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/POLICY-SDK-APP/src/main/java/org/onap/policy/conf/HibernateSession.java b/POLICY-SDK-APP/src/main/java/org/onap/policy/conf/HibernateSession.java
index 32f40b9e7..0e1be9349 100644
--- a/POLICY-SDK-APP/src/main/java/org/onap/policy/conf/HibernateSession.java
+++ b/POLICY-SDK-APP/src/main/java/org/onap/policy/conf/HibernateSession.java
@@ -56,6 +56,13 @@ public class HibernateSession{
LOGGER.error("Exception Occured while creating Log database Hibernate session"+ex);
}
}
+
+ private HibernateSession(){
+ /**
+ empty implementation
+ */
+ }
+
public static Session getSession(){
return logSessionFactory.openSession();
}
@@ -64,6 +71,5 @@ public class HibernateSession{
logSessionFactory = logSessionFactory1;
}
- private HibernateSession(){
- }
+
}