Code Review
/
policy
/
engine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
MS Model Input Validation
[policy/engine.git]
/
POLICY-SDK-APP
/
src
/
main
/
java
/
org
/
onap
/
policy
/
conf
/
HibernateSession.java
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
32f40b9
..
0e1be93
100644
(file)
--- 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);
}
}
LOGGER.error("Exception Occured while creating Log database Hibernate session"+ex);
}
}
+
+ private HibernateSession(){
+ /**
+ empty implementation
+ */
+ }
+
public static Session getSession(){
return logSessionFactory.openSession();
}
public static Session getSession(){
return logSessionFactory.openSession();
}
@@
-64,6
+71,5
@@
public class HibernateSession{
logSessionFactory = logSessionFactory1;
}
logSessionFactory = logSessionFactory1;
}
- private HibernateSession(){
- }
+
}
}