I\'m really new with Hibernate. I want a List using hibernate criteria, but only with fields User id and name filled up. Is that possible? Something
Typically you don't want to partially load the properties of an object. But if you must, see this:
http://docs.jboss.org/hibernate/stable/core/manual/en-US/html/performance.html#performance-fetching-lazyproperties
For plain reporting-like behaviour you could use entity queries:
sess.createSQLQuery("SELECT ID, NAME, BIRTHDATE FROM CATS").addEntity(Cat.class);
http://docs.jboss.org/hibernate/stable/core/manual/en-US/html/querysql.html#d0e17633