Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Alignment API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
moex
Alignment API
Commits
d212c337
Commit
d212c337
authored
10 years ago
by
Jérôme Euzenat
Browse files
Options
Downloads
Patches
Plain Diff
- a few bugs in the SQL interface
parent
e38cc57e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/fr/inrialpes/exmo/align/service/SQLCache.java
+5
-5
5 additions, 5 deletions
src/fr/inrialpes/exmo/align/service/SQLCache.java
with
5 additions
and
5 deletions
src/fr/inrialpes/exmo/align/service/SQLCache.java
+
5
−
5
View file @
d212c337
...
@@ -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 ontology
network
join table
ADDED
network
ontology join table
ADDED alignment
network
join table
ADDED
network
alignment 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 alignment
network
"
);
st
.
executeUpdate
(
"DROP TABLE IF EXISTS
network
alignment"
);
st
.
executeUpdate
(
"DROP TABLE IF EXISTS ontology
network
"
);
st
.
executeUpdate
(
"DROP TABLE IF EXISTS
network
ontology"
);
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"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment