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

getDatabaseEntries changed how schema list is obtained

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@5548 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent a3ec9f62
No related branches found
No related tags found
No related merge requests found
......@@ -1429,21 +1429,16 @@ public class DatabaseDocument extends Document
try
{
GmodDAO dao = getDAO();
schema_list = dao.getOrganisms();
/* Organism o = new Organism();
o.setCommonName("web");
schema_list.add(o);*/
schema_list = dao.getSchema(); //.getOrganisms();
Iterator it = schema_list.iterator();
db = new HashMap();
while(it.hasNext())
{
Organism organism = (Organism)it.next();
schema = organism.getCommonName();
//Organism organism = (Organism)it.next();
//schema = organism.getCommonName();
schema = (String)it.next();
reset((String)getLocation(), schema);
......@@ -1462,12 +1457,8 @@ public class DatabaseDocument extends Document
Integer.toString(feature.getFeatureId()));
}
}
catch(RuntimeException e)
{
}
catch(java.sql.SQLException sqlExp)
{
}
catch(RuntimeException e){}
catch(java.sql.SQLException sqlExp){}
}
}
......
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