B3 it is the persist operation.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christian Bauer
Sent: Monday, November 21, 2005 6:18 AM
To: Hibernate development
Subject: Re: [Hibernate] Flush behavior
On Nov 21, 2005, at 2:46 PM, Christian Bauer wrote:
>> This is again correct. You must enable cascade save-update, as in all
>> versions of Hibernate.
> Why?
Because no other behavior would be well-defined.
---
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register fo
On Nov 21, 2005, at 2:46 PM, Christian Bauer wrote:
Why?
Ok, so I'm trying to come up with a paragraph that explains this for
the documentation:
Note that if you use cascade="persist", Hibernate will only cascade
the persistent state to associated entities reachable at call time.
If m
On Nov 21, 2005, at 2:14 PM, Gavin King wrote:
Oh, you mean in plain Hibernate, not in HEM.
This is again correct. You must enable cascade save-update, as in all
versions of Hibernate.
Why?
---
This SF.Net email is sponsored by the JBoss
Bauer; Hibernate development
Subject: RE: [Hibernate] Flush behavior
You are quite wrong.
The persist() is applied and cascades at flush time.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christian Bauer
Sent: Monday, November 21, 2005 1:46 AM
To
You are quite wrong.
The persist() is applied and cascades at flush time.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christian Bauer
Sent: Monday, November 21, 2005 1:46 AM
To: Hibernate development
Subject: Re: [Hibernate] Flush behavior
On Nov
On Nov 21, 2005, at 2:03 AM, Gavin King wrote:
Huh?
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1181
s.persist(o) is only transitive to anything reachable at call time.
em.persist(o) is transitive at flush time.
---
Huh?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christian Bauer
Sent: Sunday, November 20, 2005 12:58 PM
To: Hibernate development
Subject: Re: [Hibernate] Flush behavior
On Nov 20, 2005, at 6:48 PM, Gavin King wrote:
> Hibernate cascades
On Nov 20, 2005, at 6:48 PM, Gavin King wrote:
Hibernate cascades the saveOrUpdate() operation, EJB3 cascades the
persist() operation.
They should and are quite different.
But why are persist (and possibly merge) only cascaded at call time
and not at flush time, if I use the Session API? I
development
Subject: [Hibernate] Flush behavior
> http://opensource.atlassian.com/projects/hibernate/browse/HHH-1181
They should be synchronized, if we have the same methods on Session and
on EM, they should do the same.
---
This SF.Net em
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1181
They should be synchronized, if we have the same methods on Session
and on EM, they should do the same.
---
This SF.Net email is sponsored by the JBoss Inc. Get Certified
11 matches
Mail list logo