Project

General

Profile

Revision bc3200a9

IDbc3200a95b95f49842c119af4fdb0b4c05305626
Parent dce01054
Child d2f1dbf2

Added by Andreas Müller about 3 years ago

ref #7745 fix syntax for node.treeindex in query

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/taxon/TaxonDaoHibernateImpl.java
1495 1495
        String doTreeForConceptRelationsWhere = classification == null ? "": " AND tn2.classification = :classification";
1496 1496

  
1497 1497
        String doSubtreeWhere = subtree == null? "":" AND tn.treeIndex like :treeIndexLike";
1498
        String doSubtreeForConceptRelationsWhere = subtree == null? "":" AND tn2.treeindex like :treeIndexLike";
1498
        String doSubtreeForConceptRelationsWhere = subtree == null? "":" AND tn2.treeIndex like :treeIndexLike";
1499 1499

  
1500 1500
        String doAreaRestrictionWhere =  " e.area.uuid in (:namedAreasUuids)";
1501 1501
        String doCommonNamesRestrictionWhere = " (f.supportsCommonTaxonName = true and com.name "+matchMode.getMatchOperator()+" :queryString )";

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)