[Biojava-l] Run BioSQL program in Forte

Y D Sun Yudong.Sun at newcastle.ac.uk
Mon Apr 28 19:29:23 EDT 2003


Dear all,

I use Forte for Java 4 Community Edition to run the BioSQL sample
program demos/biosql/SequenceTest.java provided in the BioJava source
code. The following error occurs on the addSequence() method that writes
a sequence to a database (the program has connected to the database):

java.sql.SQLException: No DBHelper for this database -- can't write
objects
        at
org.biojava.bio.seq.db.biosql.UnknownDBHelper.getInsertID(UnknownDBHelpe
r.java:37)
        at
org.biojava.bio.seq.db.biosql.BioSQLSequenceDB._addSequence(BioSQLSequen
ceDB.java:253)
rethrown as org.biojava.bio.BioRuntimeException: Error adding BioSQL
tables (rolled back successfully)
        at
org.biojava.bio.seq.db.biosql.BioSQLSequenceDB._addSequence(BioSQLSequen
ceDB.java:409)
        at
org.biojava.bio.seq.db.biosql.BioSQLSequenceDB.addSequence(BioSQLSequenc
eDB.java:214)
        at biosql.SequenceTest.main(SequenceTest.java:43)
Exception in thread "main" 


However, the program can succeed to run in SDK 1.4 thru command line.
Does anybody encounter a similar problem when running BioSQL program in
Forte? Do you have any suggestion to fix the problem?

Thanks.

George Sun



More information about the Biojava-l mailing list