Hi Castor community
I'm using the Castor with SAPDB and a null pointer exception throws when
an OQL use joins.
example: SELECT obj FROM pkg.className obj WHERE myObjRef.oid =
"AAAAAXyy" AND nome LIKE "Sh%"
bellow the solution for this.
cvs diff SapDbQueryExpression.java
/** START OF CVS OUTPUT **/
Index: SapDbQueryExpression.java
===================================================================
RCS file:
/cvs/castor/castor/src/main/org/exolab/castor/jdo/drivers/SapDbQueryExpression.java,v
retrieving revision 1.7
diff -r1.7 SapDbQueryExpression.java
123c123
< enum = _tables.elements();
---
> enum = _tables.keys();
183c183
<
---
>
/** END OF CVS OUTPUT **/
TIA
Cl�vis Wichoski
Supridatta
[EMAIL PROTECTED]
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev