Re: Hibernate session in RequestFactory
Hi Thomas,
I know that a session is different from a transaction. But in my case I need also a single transaction per request in order to manage correctly the lazy entity with hibernate.
The problem is that I can't send error message to the client when the error is on PersistenceFilter.
Any ideas?
Thanks
Il giorno lunedì 13 agosto 2012 23:53:42 UTC+2, Thomas Broyer ha scritto:
Session != transaction.--You're supposed to use a single session per request but one transaction per service method.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/rhMjVikyG-YJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home