Menu

Search using templates

Help
Anonymous
2004-06-24
2004-06-24
  • Anonymous

    Anonymous - 2004-06-24

    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

     
    • nr

      nr - 2004-06-24

      Thanks for the feedback.

      right, that's a limitation that should be addressed...
      in next release :-)

      N.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.