Reputation: 26202
how to select particular field using Criteria ?
Upvotes: 0
Views: 97
Reputation: 6453
use Projections, see http://docs.jboss.org/hibernate/core/3.3/reference/en/html/querycriteria.html#querycriteria-projection
Upvotes: 1