Skip to content
Snippets Groups Projects
Commit 337b606e authored by tjc's avatar tjc
Browse files

test for null case

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@5792 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent eb3d58c1
No related branches found
No related tags found
No related merge requests found
...@@ -129,7 +129,8 @@ public class SqlMapClientWrapper ...@@ -129,7 +129,8 @@ public class SqlMapClientWrapper
protected void endTransaction() throws SQLException protected void endTransaction() throws SQLException
{ {
sqlMap.endTransaction(); if(sqlMap != null)
sqlMap.endTransaction();
} }
protected void commitTransaction() throws SQLException protected void commitTransaction() throws SQLException
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment