File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to select only few coloum of table using Criteria class in hibernate
 
Similar Threads
Jtable combo box issue
Oracle Query is not running
Returning A List Of Variables From A Folder Of Documents And Returning Them Into A New Document
Posting one selected option value in two forms
how to implement dynamic rows paging when user clicks next or previous links