![]() |
![]() |
|
[
Permalink
| « Hide
]
Clinton Lee added a comment - 30/Jul/07 08:19 AM
I am expierencing the same issue using JPOX 1.1.8 and believe this is related to (or dare I say the same as?) bug CORE-2700
Query issues like this will not be addressed with the legacy JDOQL implementation; wait for "JDOQL2" to be complete
Likely fixed in DataNucleus 2.0.2 using JDOQL2 implementation
Works fine with JDOQL2 implementation in SVN trunk.
SQL generated is SELECT 'org.datanucleus.test.virtualDoc' AS NUCLEUS_TYPE,A0.OBJID FROM VIRTUALDOC A0 INNER JOIN VIRTUALDOC_FIELDS B0 ON A0.OBJID = B0.OBJID_OID INNER JOIN VIRTUALFIELD C0 ON B0.OBJID_EID = C0.OBJID INNER JOIN VIRTUALFIELD_VALUES D0 ON C0.OBJID = D0.OBJID_OID WHERE C0."NAME" = 'testfield' AND CHAR_LENGTH(D0."ELEMENT") > 0 |
|||||||||||||||||||||||||||||||||||||||||||||