guicamest/InterfaceToDTO — Issue #20: Make HibernateDTOUtils support single results
Author: guicamest
Created: 2011-10-18 00:43:18+00:00
State: open

Usage:

ISimplifiedUser followData = DTOHibernateUtils.getFor(ISimplifiedUser.class).fromQuery(query);

if user wants a list, as in #17, the usage would be:

List'' followData = DTOHibernateUtils.getFor(ISimplifiedUser.class).list().fromQuery(query);