Menu

Error Checking

Help
Paul
2004-09-27
2013-03-22
  • Paul

    Paul - 2004-09-27

    How can I tell if a call to ORM was successful?
    Example 1)
      If I successfully fetch a record and then attempt to update it, and someone behind the scenes has already deleted it, I would expect to get an error when I then try to commit my changes.  I do not receive an error.

    Example 2)
    If I successfully fetch a record and then attempt to delete it, and someone behind the scenes has already deleted it, I would expect to get an error when I then try to delete it.  I do not receive an error.

    Example 3)
      If I successfully fetch a record and update it, when I issue the COMMITALL command, I would expect an error if someone else has already updated the record.  I do not receive an error.

     
    • Bob Archer

      Bob Archer - 2004-10-15

      I know there was discussion on the Olero forum about number 3 about conflict resolution or supporting timestamps. However, I guess it still hasn't been added.

      It also would be nice if they had an option on the save to add the old values to the WHERE clause of the update, this way you wouldn't need a time stamp.

       

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.