[Biojava-l] How to query 'value' in 'seqfeature_qualifier_value' using HQL

Gabrielle Doan gabrielle_doan at gmx.net
Wed May 28 12:21:19 UTC 2008


Hi all,

I am a newbie to BioJava so sorry if questions are too simple! I started 
working on BioJava and BioSQL using Hibernate and BioJavaX and met the 
following problem:

I would like to query the property 'value' in 
'seqfeature_qualifier_value' using HQL but don't have a clue how to do that.
I have found at the BiojavaX Documentation the Hibernate
object-relational mappings. At the table you can see that the BioSQL 
table 'seqfeature_qualifier_value' is mapped to the HQL name 'Feature'. 
That means if I want to get the 'seqfeature_qualifier_value' I have to 
use the properties of Features.
I had a look at the xml mapping files, but unfortunately I could not 
find a solution for my problem.

It would be very nice if there was a table in which I could see the 
properties of all HQL names so that I could see which properties I can 
actually query for. In BioSQL I can simply see the table's definition 
and know all such properties. The designated XML files are not very 
helpful to understand the mapping between BioSQL and HQL.
I am grateful for any hints, which explain the properties of these HQL 
object names.

Cheers,

Gabrielle Doan




More information about the Biojava-l mailing list