Changeset 5054 for trunk/src/core/common-queries.xml
- Timestamp:
- Aug 18, 2009, 1:24:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/core/common-queries.xml
r5039 r5054 3532 3532 </description> 3533 3533 </query> 3534 3534 <query id="DBLOG_GET_ANNOTATIONTYPE_NAME" type="HQL"> 3535 <sql> 3536 SELECT at.name 3537 FROM AnnotationTypeData at 3538 WHERE at.id = :annotationTypeId 3539 </sql> 3540 <description> 3541 An HQL query that loads the name of an annotation type 3542 given the ID. 3543 </description> 3544 </query> 3545 <query id="DBLOG_GET_ANNOTATION_ITEMTYPE" type="HQL"> 3546 <sql> 3547 SELECT as.itemType 3548 FROM AnnotationSetData as 3549 WHERE as.id = :annotationSetId 3550 </sql> 3551 <description> 3552 An HQL query that loads the item type value an annotation 3553 set with a given ID belongs to. 3554 </description> 3555 </query> 3556 <query id="DBLOG_GET_ITEMID_WITH_ANNOTATION" type="HQL"> 3557 <sql> 3558 SELECT i.id 3559 FROM {1} i 3560 WHERE i.annotationSet = :annotationSetId 3561 </sql> 3562 <description> 3563 An HQL query that loads the ID of the item that 3564 is associated with a given annotation set. 3565 </description> 3566 </query> 3567 3535 3568 </predefined-queries>
Note: See TracChangeset
for help on using the changeset viewer.