Project

General

Profile

« Previous | Next » 

Revision d71868a2

Added by Andreas Müller about 3 years ago

ref #9327 add sec source to TaxonBase (with few open issues)

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/taxon/ClassificationDaoHibernateImpl.java
124 124

  
125 125
        String selectWhat = doCount ? "COUNT(distinct tn)" : "DISTINCT tn";
126 126

  
127
        String joinFetch = doCount ? "" : " JOIN FETCH tn.taxon t JOIN FETCH t.name n LEFT JOIN FETCH n.rank LEFT JOIN FETCH t.sec ";
127
        String joinFetch = doCount ? "" : " JOIN FETCH tn.taxon t JOIN FETCH t.name n LEFT JOIN FETCH n.rank LEFT JOIN FETCH t.secSource ss LEFT JOIN FETCH ss.citation ";
128 128

  
129 129
        if(rank == null){
130 130
            String hql = "SELECT " + selectWhat +

Also available in: Unified diff