No found row

Thread is closed for posting
2 posts, 0 answers
  1. Adrian
    Adrian  avatar
    15 posts
    Member since:
    Dec 2010

    Posted 10 Jun 2011 Link to this post

    I have a database that works two operators and one operator delete an object, the second running in parallel oerator uses that object in another database without refresh before and the program crashes. How do I handle this error.
  2. PetarP
    Admin
    PetarP avatar
    754 posts

    Posted 15 Jun 2011 Link to this post

    Hello Neagoe,

     The NoSuchObject exception is thrown when you try to access an object that has been deleted or you try to retrieve an object by id that is not yet in the database.
    Wouldn't it be possible to catch this exception and notify the interested party that the object they are accessing is no longer there?

    Kind regards,
    Petar
    the Telerik team
    Q1’11 SP1 of Telerik OpenAccess is available for download; also available is the Q2'11 Roadmap for Telerik OpenAccess ORM.
Back to Top