Skip to content
Snippets Groups Projects
Commit 2dc93a8d authored by tjc's avatar tjc
Browse files

add reset()

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@10302 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 1188abf3
Branches
Tags
No related merge requests found
......@@ -393,6 +393,27 @@ public class DatabaseDocument extends Document
}
}
/**
* Reset connection.
*/
public void reset()
{
if(iBatis && connIB != null)
{
try
{
connIB.close();
}
catch(SQLException e)
{
logger4j.warn(e.getMessage());
}
connIB = null;
}
jdbcDAO = null;
}
/**
* Append a String to the Document location.
* @param name the name to append.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment