my dog learned polymorphism*
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.
 
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
Oracle Query is not running
Posting one selected option value in two forms
Jtable combo box issue
Returning A List Of Variables From A Folder Of Documents And Returning Them Into A New Document
how to implement dynamic rows paging when user clicks next or previous links