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

tidy

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@5796 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent f3c9bab1
No related branches found
No related tags found
No related merge requests found
......@@ -360,12 +360,6 @@ public class DatabaseDocument extends Document
try
{
GmodDAO dao = getDAO();
ByteBuffer entry = new ByteBuffer();
try
{
if(dao instanceof IBatisDAO)
((IBatisDAO) dao).startTransaction();
// if creating a gene builder
if(gene_builder)
......@@ -377,6 +371,13 @@ public class DatabaseDocument extends Document
schemaList, dao);
return new ByteArrayInputStream(bb.getBytes());
}
ByteBuffer entry = new ByteBuffer();
try
{
if(dao instanceof IBatisDAO)
((IBatisDAO) dao).startTransaction();
gff_buffer = getGff(dao);
if(splitGFFEntry)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment