How to check if database is available

2005-08-18 Thread Hiller, Frank RD-AS2
Hello OJB users, how can one check via OJB whether the database is avaialable before establishing a connection to it? Thanks, Frank Confidentiality note: The information in this email and any attachment may contain confidential and proprietary information of Heidelberger Druckmaschinen AG

RE: afterLookUp() gets called before initialisation of other objects.

2005-08-18 Thread Cory Prowse
I'll just chime in here and say that I too have noticed that some of the setters are called after loading from the datastore. I came across this when I implemented an aspect that pointcut all of the setters. The setters related to reference or collection descriptors were sometimes called after th

Re: afterLookUp() gets called before initialisation of other objects.

2005-08-18 Thread Ravi
Armin Waibel apache.org> writes: > > Hi Ravi, > > I can't find significant changes between 0.98 and 1.0.x. The main change > is, that the target object of the AfterLookupEvent Object was > immediately nullified after fire the event (because for better > performance OJB reuse the AfterLookupEve

optimistic locking problems

2005-08-18 Thread Laran Evans
I'm getting optimistic lock exceptions when saving an object. But, the exception only comes up occasionally. It happens maybe 3 out of every 4 runs. The object has 3 lists of objects, all of which are persisted as well. Before saving the parent object all version numbers are null. After saving