Hi Ravi, I have not seen the domain model (though it sounds familiar ;) but from your description, it appears that @ElementClassCriteria is appropriate in this case.
----- Pinaki -- View this message in context: http://n2.nabble.com/ClasscastException-when-ClassCrietria-is-not-used-tp3290568p4521682.html Sent from the OpenJPA Developers mailing list archive at Nabble.com.
