On Jul 22, 2004, at 2:07 AM, Henri Tremblay wrote:
I don't know if I made myself clear.
I can provide a test case if needed (and continue the discussion in the
forum which is probably a more appropriate place I think).
You didn't. I guess you have to rethink what "not null" means again. It
means a
I think).
Sorry to have made you jump a little,
Henri
- Original Message -
From: "Christian Bauer" <[EMAIL PROTECTED]>
To: "Henri Tremblay" <[EMAIL PROTECTED]>
Cc: "hibernate-devel" <[EMAIL PROTECTED]>
Sent: Thursday, July 22, 2004 12:07 A
On Jul 21, 2004, at 10:42 PM, Henri Tremblay wrote:
Does this remove the hibernate limitation on nullable foreign keys?
(that
foreign keys of collections need to be nullable even if there is a
cascade
all-delete-orphan). If yes, great! If no, still great! (but I'll be
back on
this issue).
What?
Does this remove the hibernate limitation on nullable foreign keys? (that
foreign keys of collections need to be nullable even if there is a cascade
all-delete-orphan). If yes, great! If no, still great! (but I'll be back on
this issue).
Henri
- Original Message -
From: "Gavin King" <[EM
> >Sounds like a nice and performant feature.
> >
> >By doing this we are now skipping/ignoring the LifeCycle stuff on
> >these objects, correct ?
> >
> >
> Nope, all semantics are preserved. This *only* optimizes away the delete
> statements.
Perfect :) Sorry for the other post, just sent as
I like it, added flexibility; I haven't thought this through much, but could
the parent object, if it implemented the Lifecycle interface, tell that its
a cascaded delete via onDelete or some other way? Maybe an onDeleteCascade()
method in case its helpful to trap, or some way of telling in onDelet
Max Rydahl Andersen wrote:
Sounds like a nice and performant feature.
By doing this we are now skipping/ignoring the LifeCycle stuff on
these objects, correct ?
Nope, all semantics are preserved. This *only* optimizes away the delete
statements.
And this is also a step in the direction of supp
Hello Gavin,
Wednesday, July 21, 2004, 6:32:11 AM, you wrote:
> I've implemented support for ON DELETE CASCADE foreign key
> definitions for parent/child associations (ie. for inverse
> one-to-many).
> You map this like:
>
>
>
>
> So, when the Parent instance is deleted, Hibernate