I'm trying to do a 'loadUsingTemplate'. The thing is that I want to load all records that has a parentId that is null.
But the _sqlWhere code is:
PARENT_ID= ?
So the SQL statement will be like PARENT_ID = null, which of course doesn't work.
I think you need to add a check for whether the template value is null, and then add the _sqlWhere code PARENT IS NULL.
Regards, F. Bregnvig
Thanks for the feedback.
right, that's a limitation that should be addressed... in next release :-)
N.
Log in to post a comment.
I'm trying to do a 'loadUsingTemplate'. The thing is that I want to load all records that has a parentId that is null.
But the _sqlWhere code is:
PARENT_ID= ?
So the SQL statement will be like PARENT_ID = null,
which of course doesn't work.
I think you need to add a check for whether the template value is null, and then add the _sqlWhere code PARENT IS NULL.
Regards,
F. Bregnvig
Thanks for the feedback.
right, that's a limitation that should be addressed...
in next release :-)
N.