aspose file tools*
The moose likes Object Relational Mapping and the fly likes how to select only few coloum of table using Criteria  class in hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "how to select only few coloum of table using Criteria  class in hibernate" Watch "how to select only few coloum of table using Criteria  class in hibernate" New topic
Author

how to select only few coloum of table using Criteria class in hibernate

sudhakar dhavala
Greenhorn

Joined: Nov 04, 2005
Posts: 3
How to seect only few coloums for a table


hayden wangg
Greenhorn

Joined: Apr 25, 2007
Posts: 11
HQL could help to resolve this, for example:
select user.name, user.id from user where user.id>100

I'm not sure Criteria could also do this.
 
jQuery in Action, 2nd edition
 
subject: how to select only few coloum of table using Criteria class in hibernate