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 Tue, 07 Sep 2010 16:28:23 GMT

Hi,

The where clause in the query is obviously wrong :
 WHERE (1 <> 1)     // always returns false

We've seen similar statements with embedded objects on earlier versions of
OpenJPA (1.2.1 comes to mind).

Which version of OpenJPA are you using, and are you doing build time or
runtime enhancement? If you have specified any properties in persistence.xml
please post them and it'll help us reproduce.

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

Mime
View raw message