just a note: in my usecase the hibernate3 HEAD calls onFlushDirtry for a
new entity when it is saved due to a cascade="all" collection
and while doing it the previousState is null:
2004-07-01 13:49:40,210 DEBUG
persistence.AuditInterceptor.onFlushDirty
(79 ) | PreviousState is null
java.lang.Throwable
at
com.netvisor.uma.persistence.AuditInterceptor.onFlushDirty(AuditIntercep
tor.java:79)
at
org.hibernate.impl.AbstractFlushingEventListener.flushEntity(AbstractFlu
shingEventListener.java:327)
at
org.hibernate.impl.AbstractFlushingEventListener.flushEntities(AbstractF
lushingEventListener.java:164)
at
org.hibernate.impl.AbstractFlushingEventListener.flushEverythingToExecut
ions(AbstractFlushingEventListener.java:59)
at
org.hibernate.impl.DefaultFlushEventListener.onFlush(DefaultFlushEventLi
stener.java:24)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1252)
at com.netvisor.uma.client.Test.run2(Test.java:103)
at com.netvisor.uma.client.Test.run2_aroundBody0(Test.java:33)
at
com.netvisor.uma.client.Test.run2_aroundBody1$advice(Test.java:166)
at com.netvisor.uma.client.Test.main(Test.java:33)
in case it's useful,
- 101
PS: is there a vague date when the hibernate3 branch will be ready for
"developer release"? I'm working on a new project, and started with the
new branch. Up till now things are working with a little help, but an
official opinion would be a bigger relief... :)
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel