Mentions légales du service

Skip to content
Snippets Groups Projects
Commit d212c337 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- a few bugs in the SQL interface

parent e38cc57e
No related branches found
No related tags found
No related merge requests found
...@@ -82,8 +82,8 @@ public class SQLCache extends VolatilCache implements Cache { ...@@ -82,8 +82,8 @@ public class SQLCache extends VolatilCache implements Cache {
SUPPRESSED alignment information (id,source) from ontology SUPPRESSED alignment information (id,source) from ontology
ADDED ontology ids to alignments (onto1, onto2) ADDED ontology ids to alignments (onto1, onto2)
ADDED network table ADDED network table
ADDED ontologynetwork join table ADDED networkontology join table
ADDED alignmentnetwork join table ADDED networkalignment join table
463: ADDED FOREIGN KEY CONSTRAINTS 463: ADDED FOREIGN KEY CONSTRAINTS
// URIINdex: // URIINdex:
464: ADDED multiple uris for alignments 464: ADDED multiple uris for alignments
...@@ -198,7 +198,7 @@ public class SQLCache extends VolatilCache implements Cache { ...@@ -198,7 +198,7 @@ public class SQLCache extends VolatilCache implements Cache {
alignment = retrieveDescription( id ); alignment = retrieveDescription( id );
recordAlignment( recoverAlignmentUri( id ), alignment, true ); recordAlignment( recoverAlignmentUri( id ), alignment, true );
// URIINdex: load alternative URIs // URIINdex: load alternative URIs
rs = st.executeQuery("SELECT uri,prefered FROM alignmenturis WHERE id="+quote(id)+");"); rs = st.executeQuery("SELECT uri,prefered FROM alignmenturis WHERE id="+quote(id)+";");
while( rs.next() ) { while( rs.next() ) {
alignmentURITable.put( rs.getString("uri"), alignment ); alignmentURITable.put( rs.getString("uri"), alignment );
} }
...@@ -863,8 +863,8 @@ public class SQLCache extends VolatilCache implements Cache { ...@@ -863,8 +863,8 @@ public class SQLCache extends VolatilCache implements Cache {
st.executeUpdate("DROP TABLE IF EXISTS extension"); st.executeUpdate("DROP TABLE IF EXISTS extension");
st.executeUpdate("DROP TABLE IF EXISTS cell"); st.executeUpdate("DROP TABLE IF EXISTS cell");
st.executeUpdate("DROP TABLE IF EXISTS dependency"); st.executeUpdate("DROP TABLE IF EXISTS dependency");
st.executeUpdate("DROP TABLE IF EXISTS alignmentnetwork"); st.executeUpdate("DROP TABLE IF EXISTS networkalignment");
st.executeUpdate("DROP TABLE IF EXISTS ontologynetwork"); st.executeUpdate("DROP TABLE IF EXISTS networkontology");
st.executeUpdate("DROP TABLE IF EXISTS network"); st.executeUpdate("DROP TABLE IF EXISTS network");
st.executeUpdate("DROP TABLE IF EXISTS alignment"); st.executeUpdate("DROP TABLE IF EXISTS alignment");
st.executeUpdate("DROP TABLE IF EXISTS ontology"); st.executeUpdate("DROP TABLE IF EXISTS ontology");
......
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