[OJB-developers] conditional persistence of objects
Brought to you by:
thma
From: Bastian S. <Ch...@gm...> - 2002-06-15 15:29:26
|
hi you OJB developers, i've bee working with OJB for a couple of months now and in my opinion you= are performing great work. in my application's datamodel there are many objects (A) that reside in a= default, dummy or empty state at runtime and i would like them not being= persisted, when all the other objects (B) around them are stored in the= database and all references / fks to them stored as SQL NULL values. on the other hand, on matialization of objects B containing NULL references= / fks to A's, these references should be filled with dummy A's. the A objects have a method that "decides" whether these objects should be= persisted or not. this "mechanism" should also work with collection descriptors. now, my question is how this behaviour could be realized with OJB and where= are the "right" starting points for this. thanks in advance bastian schmitz |