This is a migrated thread and some comments may be shown as answers.

No found row

1 Answer 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Adrian
Top achievements
Rank 2
Adrian asked on 10 Jun 2011, 06:27 PM
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.

1 Answer, 1 is accepted

Sort by
0
PetarP
Telerik team
answered on 15 Jun 2011, 04:13 PM
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.
Tags
General Discussions
Asked by
Adrian
Top achievements
Rank 2
Answers by
PetarP
Telerik team
Share this question
or