Re: Hibernate flush causes transactional domain error [message #420245] |
Tue, 24 June 2008 12:39 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Manfred,
Yes you can directly call the sessionwrapper.setFlushModeManual. Also then what you have to remember
is to do flush yourselve (sessionWrapper.flush()), for example after all resources have been saved
just before you commit the transaction.
If you have time can you enter a bugzilla for this so I can update the documentation?
btw, I cross-posted to the emf newsgroup because teneo is graduating so support is now given there.
gr. Martin
Manfred Hahn wrote:
> Hi Martin,
>
> Thanks for your immediate response. (I believe you don't sleep ever!)
>
> yes, the setFlushModeManual() call is in my version. But unfortunately I
> am using a session controller.
> Should I overwrite the getSessionWrapper method or is there another
> better place to call setFlushModeManual() for my session (e.g. in the
> SessionWrapper itself)?
>
> gr. Manfred
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
|
Powered by
FUDForum. Page generated in 0.02926 seconds