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

lazy load dbxref for getFeature

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@7149 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 0318b1cc
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
<resultMap id="map-feature" class="Feature" <resultMap id="map-feature" class="Feature"
groupBy="featureId" extends="map-basicfeature"> groupBy="featureId" extends="map-basicfeature">
<result property="organism.organismId" column="organism_id"/> <result property="organism.organismId" column="organism_id"/>
<result property="dbXRef" column="dbXRefId"
select="getDbXRefByDbXRefId" />
<result property="featureProps" resultMap="FeatureProp.map-featureprop" /> <result property="featureProps" resultMap="FeatureProp.map-featureprop" />
<result property="featureRelationshipsForSubjectId" <result property="featureRelationshipsForSubjectId"
resultMap="FeatureRelationship.map-feature-relationship-for-objectId" /> resultMap="FeatureRelationship.map-feature-relationship-for-objectId" />
...@@ -140,6 +142,7 @@ ...@@ -140,6 +142,7 @@
timelastmodified, timelastmodified,
f.feature_id AS id, f.feature_id AS id,
f.organism_id, f.organism_id,
f.dbxref_id AS dbXRefId,
fr.feature_relationship_id, fr.feature_relationship_id,
fr.object_id, fr.object_id,
fr.type_id AS relation_type_id, fr.type_id AS relation_type_id,
......
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