Hi Pinaki, @ElementClassCriteria resolves the issue. But it is an openJPA specific annotation. Hence I created JIRA-1200 for this and added a fix to it, which is already commited into trunk.
Regards, Ravi. -- View this message in context: http://n2.nabble.com/ClasscastException-when-ClassCrietria-is-not-used-tp3290568p4522371.html Sent from the OpenJPA Developers mailing list archive at Nabble.com.
