aspose file tools*
The moose likes Object Relational Mapping and the fly likes Hibernate Criteria API : Projections related confusion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate Criteria API : Projections related confusion" Watch "Hibernate Criteria API : Projections related confusion" New topic
Author

Hibernate Criteria API : Projections related confusion

Saurabh Pillai
Ranch Hand

Joined: Sep 12, 2008
Posts: 498
I am using join between multiple tables. I want to retrieve columns from one table only. Joins are there just limit number of columns only. I tried something like this without success.



Getting this exception,

could not resolve property: * of: MyClassName



 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hibernate Criteria API : Projections related confusion
 
Similar Threads
send data to email
SQL Join for two different columns
Projection from inner join
ProjectionList hibernate Criteria
Joining 3 Tables