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

updates

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@6148 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent bc7ae270
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
class="Feature" groupBy="featureId"> class="Feature" groupBy="featureId">
<result property="timeLastModified" column="timelastmodified"/> <result property="timeLastModified" column="timelastmodified"/>
<result property="featureId" column="id"/> <result property="featureId" column="id"/>
<result property="organism.organismId" column="organism_id"/>
<result property="featureRelationshipsForSubjectId" <result property="featureRelationshipsForSubjectId"
resultMap="FeatureRelationship.feature_relationship" /> resultMap="FeatureRelationship.feature_relationship" />
<!-- <!--
...@@ -103,6 +104,7 @@ ...@@ -103,6 +104,7 @@
SELECT SELECT
timelastmodified, timelastmodified,
f.feature_id AS id, f.feature_id AS id,
f.organism_id,
fr.object_id, fr.object_id,
fr.type_id AS relation_type_id, fr.type_id AS relation_type_id,
fr.rank, fr.rank,
...@@ -248,14 +250,18 @@ ...@@ -248,14 +250,18 @@
</select> </select>
<select id="getResidueFeatures" parameterClass="java.util.Map" <select id="getResidueFeatures" parameterClass="java.lang.Integer"
resultMap="select-feature-with-residues-result"> resultMap="select-feature-with-residues-result">
SELECT SELECT
name, name,
uniquename, uniquename,
feature_id, feature_id,
type_id type_id
FROM feature WHERE residues notnull AND residues NOT LIKE '' FROM feature WHERE
<isNotNull>
organism_id=$value$ AND
</isNotNull>
residues notnull AND residues NOT LIKE ''
<!-- <!--
<iterate prepend="AND" property="cvTermIds" conjunction="OR" open="(" close=")"> <iterate prepend="AND" property="cvTermIds" conjunction="OR" open="(" close=")">
type_id=#cvTermIds[]# type_id=#cvTermIds[]#
......
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