Eric Northam wrote:
The following causes a NullPointerException
OQLQuery query = odmg.newOQLQuery();
query.create("select notifications from $1 where type=\"lead\"");
Is it valid to pass the class name as a parameter?
AFAIK parameters work only in the where clause...
Either way throwing a NullPointerException in this case isn't too friendly.
I agree. We work hard to make our NPEs behave better ;-)
cheers, Thomas
Eric
DISCLAIMER: The information contained in this e-mail is, unless otherwise indicated, confidential and is intended solely for the use of the named addressee. Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized. If you are not the intended recipient please notify us immediately by returning the e-mail to the originator.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
