openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dick <michael.d.d...@gmail.com>
Subject Re: problem using subclass object as query parameter
Date Fri, 10 Sep 2010 16:55:54 GMT

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.

Mime
View raw message