Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Re: Hibernate flush causes transactional domain error
Re: Hibernate flush causes transactional domain error [message #420245] Tue, 24 June 2008 12:39
Martin Taal is currently offline Martin TaalFriend
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
Previous Topic:[CDO] All.psf modified!
Next Topic:Retrieve namespace URI
Goto Forum:
  


Current Time: Fri Apr 26 15:30:06 GMT 2024

Powered by FUDForum. Page generated in 0.02926 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top