Beginner |
|
Joined: Fri Sep 28, 2007 4:58 am Posts: 21 Location: Chennai, India
|
Hi All,
i am using POJO's with in Pojo's. this is like
class A{
private int a1;
private B b;
}
class B
{
private int b1;
private set c;
}
Class C{
int c1;
}
how can i access Set of values from calss A.
i am using Criteria and Projections in the Criteria.
i write like this
List list = session.createCriteria(A.class, "a").createCriteria("a.b", "b")
.setProjection(Projections.property("b.c")).list();
but its producing null. i want a query which is executed successfully with performance considerations.
_________________ Purushotham Podaralla
|
|