Werner, >Andre, > >sure, point taken .. ;-). I wasn't actually suggesting to use >Database#isPersistent(), ... never mind. As you are already looking into the >code(base), why not create a new issue at >http://jira.codehaus.org/browse/CASTOR, and attach a small patch as wll .. ;-). > > Currently iam short on time. I think changing behaviour of Database#isPersitent() is a bad idea, because some people use workarrounds or wathever. Its possible to add a method in interface Database? E.g.: Database#getState(Class entity, Object identity). Returnvalue informs about state like locked/notlocked.
Next months, june or july, i have more time to implement this method, in case this is possible, and applied patch to castor#jdo... Andre Teubner ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------

