• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Changeset
  • Next Changeset →

Changeset 1575

Show
Ignore:
Timestamp:
06/01/07 12:49:18 (16 months ago)
Author:
jmoore
Message:

#662 Adding a DINSTINCT_ROOT_ENTITY. Should solve the problem.

Files:
1 modified

  • trunk/components/server/src/ome/logic/QueryImpl.java (modified) (1 diff)

Legend:

Unmodified
Added
Removed
  • trunk/components/server/src/ome/logic/QueryImpl.java

    r1375 r1575  
    215215                            throws HibernateException, SQLException { 
    216216                        Criteria c = session.createCriteria(klass); 
     217                        c.setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY); 
    217218                        parseFilter(c, filter); 
    218219                        return c.list(); 

Download in other formats:

  • Unified Diff
  • Zip Archive

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/