You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1292,34 +1292,124 @@ Queries are constructed not using SQL but using the Hibernate Query Language, or
1292
1292
The following table describes which object in BioJavaX ends up in which table in BioSQL. The first column is the name of the BioSQL table, the second is the mapping name to be used in HQL to query the table, and the third column is the class of object you will get when the query returns results:
1293
1293
1294
1294
Table 19.1. Hibernate object-relational mappings.
1295
-
biodatabase Namespace SimpleNamespace
1296
-
taxon Taxon SimpleNCBITaxon
1297
-
bioentry BioEntry SimpleBioEntry
1298
-
taxon_name (use properties of NCBITaxon) SimpleNCBITaxonName
1299
-
biosequence (including the sequence data) Sequence SimpleRichSequence
1300
-
biosequence (excluding the sequence data) ThinSequence ThinRichSequence
The exact details will vary according to which database you are using.
1368
1459
1369
1460
You will see that the default way of using Hibernate is through a JNDI datasource, usually supplied by a servlet container such as Tomcat. In this case, you should modify the connection.datasource parameter to reflect the name of your JNDI datasource.
0 commit comments