aboutsummaryrefslogtreecommitdiffstats
path: root/ONAP-PAP-REST
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2018-03-09 11:49:53 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-09 11:49:53 +0000
commitfc285f4a7aee9f4b429929fc709a362766149d4d (patch)
tree90406b88e9456ed525fddd654f9bfbc118a73a50 /ONAP-PAP-REST
parent80290eeafd9c685d1ad550747855227b02bb0232 (diff)
parent6bbf4b8162902e72dbaf50138a5f3cc4a95fa0c7 (diff)
Merge "Sonar Major"
Diffstat (limited to 'ONAP-PAP-REST')
-rw-r--r--ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/components/PolicyDBDao.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/components/PolicyDBDao.java b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/components/PolicyDBDao.java
index 2fb636732..71eb1156f 100644
--- a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/components/PolicyDBDao.java
+++ b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/components/PolicyDBDao.java
@@ -358,7 +358,7 @@ public class PolicyDBDao {
} catch(Exception e2){
PolicyLogger.error(MessageCodes.EXCEPTION_ERROR, e2, policyDBDaoVar, "COULD NOT CREATE DATABASELOCK ROW. WILL TRY ONE MORE TIME");
}
- em = null;
+
em = emf.createEntityManager();
try{
startTransactionSynced(em, 1000);