[Biojava-l] BioSQLRichSequenceDB: initialisation error

Felix Dreher dreher at mpiib-berlin.mpg.de
Mon Feb 20 12:34:22 EST 2006


Hello,

in the constructor of BioSQLRichSequenceDB the following line is called:
    this.addCriteria = criteria.getMethod("add", new Class[]{Class.class});
where criteria is an instance of org.hibernate.Criteria

The problem is, when I try to initialise a BioSQLRichSequenceDB,
a "NoSuchMethodException" is thrown at this line.
I searched for the getMethod- method and in fact it is not present in 
org.hibernate.Criteria.
So does anyone know if this is an error in the BioJava-class or in the 
Hibernate-class?

Greetings,
Felix



-- 
Felix Dreher
Max-Planck-Institute for Infection Biology
Campus Charité Mitte
Department of Immunology
Mailing address: Schumannstraße 21/22
Visitors: Virchowweg 12
10117 Berlin
Germany
Tel.: +49 (0)30 28460-254 / -494
Mobile: +49 (0)163 7542426



More information about the Biojava-l mailing list