RE: Newbie OJB problem

2003-04-03 Thread McKinstry, Pete (HQP)
I'm a relative newbie to OJB, but i'll give this one a whirl. See comments preceded w/ pgm: -Original Message- From: charles grohowski [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 3:16 PM To: OJB Users List Subject: Newbie OJB problem Hi, I recently set up OJB to work with

auto-delete=true/ cascading delete.

2003-03-17 Thread McKinstry, Pete (HQP)
Does anyone have an example of a 1 to many relationship using a cascading delete? I checked the unit tests briefly, but couldn't find any tests of the cascading options. (Did i miss it?) I expected the auto-delete="true" to delete the child records along w/ the parent, but i couldn't get it to wo

RE: where-clause criteria for collection-descriptor?

2003-02-20 Thread McKinstry, Pete (HQP)
Colin- I'm new to OJB, so i don't know of a way to do what you're attempting w/in OJB. (others may chime in here) But you could use a view (assuming your DB supports them) & have the mapping point to the view table which only shows the valid/active rows. just a possible work-around... -pgm ---