Andre,

no, there isn't at the momnet. But given that the 
org.exolab.castor.jdo.Database interface offers a isPersistent() method, it 
should not be too hard to add such methods. 

Werner

wg> -----Original Message-----
wg> From: Andre Teubner [mailto:[EMAIL PROTECTED]
wg> Sent: Monday, May 30, 2005 11:52 AM
wg> To: [email protected]
wg> Subject: [castor-user] How to receive state from locked objects?
wg> 
wg> 
wg> Hello list,
wg> 
wg> we get once in while a LockNotGrantedException. That 
wg> behaviour is ok,
wg> from castor viewpoint, because 2 threads works with the 
wg> same object at
wg> same time. Is there a way to ask for state? Lock oder 
wg> NotLocked(...thats
wg> the question). So we can sync the object-access. We use 
wg> castor 9.5.3.
wg> 
wg> Thanks in advance for your answer.
wg> 
wg> Andre Teubner
wg> 
wg> 
wg> -------------------------------------------------
wg> If you wish to unsubscribe from this list, please 
wg> send an empty message to the following address:
wg> 
wg> [EMAIL PROTECTED]
wg> -------------------------------------------------
wg> 
wg> 

-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to