Hi, What is the best practice to manage Hibernate sessions in a GWT servlet ?
The following article on Google code shows some basic code to use Hibernate with GWT. http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html However I don't see any calls that close the Session (session.close()) !!. Does Hibernate call close somehow internally ? Once you get a Hibernate Session, should I hold on to this (like putting this in HttpSession) or should I close before I leave my RPC method ? Thanks, -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.