don't begin new transaction 05/67105/3
authorJim Hahn <jrh3@att.com>
Mon, 17 Sep 2018 18:41:02 +0000 (14:41 -0400)
committerJim Hahn <jrh3@att.com>
Mon, 17 Sep 2018 20:11:24 +0000 (16:11 -0400)
commit1bf0e1d6acc1df4da77cfcf315bfe16f58a12def
tree82f77afe2e7d1af95a12b018e7a8a67e48d5add8
parent02641b81ea49d3ecc7ab102d17b921a1ed164bd3
don't begin new transaction

Persistence code was not checking to see if a transaction was already
in progress before beginning a transaction.
Fix checkstyle issue with comments and parameter for EntityMgrException.
Restore other checkstyle fixes.
More checkstyle fixes.
Rename some variables.

Change-Id: Ic820944781571ba2ef411cb86d12fa32fb206124
Issue-ID: POLICY-1106
Signed-off-by: Jim Hahn <jrh3@att.com>
feature-session-persistence/src/main/java/org/onap/policy/drools/persistence/EntityMgrTrans.java
feature-session-persistence/src/test/java/org/onap/policy/drools/persistence/EntityMgrTransTest.java