Skip to content
Snippets Groups Projects
Commit f4d47bb4 authored by tjc's avatar tjc
Browse files

add rank to insert feature_relationship

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@6266 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 741b0fe0
No related branches found
No related tags found
No related merge requests found
......@@ -68,11 +68,11 @@
<insert id="insertFeatureRelationship"
parameterClass="FeatureRelationship">
INSERT INTO feature_relationship
( subject_id, object_id, type_id )
( subject_id, object_id, type_id, rank )
VALUES
( (SELECT feature_id FROM feature WHERE uniquename=#featureBySubjectId.uniqueName#),
(SELECT feature_id FROM feature WHERE uniquename=#featureByObjectId.uniqueName#),
$cvTerm.cvTermId$ )
$cvTerm.cvTermId$, $rank$ )
</insert>
</sqlMap>
\ No newline at end of file
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