canadian wrote:
Can someone comment on this pls? I am getting the above exception, and here is my query
Code:
pack = abc.def.ghi
String sb = ("from Course as course join "+pack+"Group as gr join "+pack+"GroupEvent as groupEvent where groupEvent.eventReleased = 1 ");
Query query = session.createQuery(sb.toString());
List list = query.list();
It would help a lot if you'd use the code tags and post valid Java. However, from what you posted it looks like the value of "pack" is wrong. You should have a period after it, or included when you build your "sb" String.
You are building this:
abc.def.ghiGroup
Don't you want this instead?
abc.def.ghi.Group