File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
Hibernate Criteria API : Projections related confusion
Joined: Sep 12, 2008
Oct 01, 2013 12:56:24
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.
ProjectionList projectionList = Projections.projectionList(); projectionList.add(Projections.property("b.*"));
Getting this exception,
could not resolve property: * of: MyClassName
I agree. Here's the link:
subject: Hibernate Criteria API : Projections related confusion
send data to email
Projection from inner join
SQL Join for two different columns
ProjectionList hibernate Criteria
Joining 3 Tables
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015