Sorry it took a little while to get back to this thread.

Is there a reason why you want to expose the discriminator column as a
persistent property (you have the column TYPE mapped as an enum & as the
discriminator col). I think this is causing the problems you're seeing.

I haven't checked the spec to see if this is expressly forbidden, but I'd
definitely say it's unusual.

-mike
-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/problem-using-subclass-object-as-query-parameter-tp5506089p5519053.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to