> Exactly that didn't work for me. I checked for open transactions, > closed them, closed the EntityManager and even released it by setting > the ThreadLocal variable to null.
What do you mean you CHECK for open transactions? > Although I created a new EntityManager in onBeginRequest() I > constantly got errors during form processing because of not existing > EntityManager. Use lazy loading and close it at onEndRequest(). > You could have spent this time learning Spring (it's not that hard > for what you want to do) and you'd be a happy camper right now. Haven't seen any benefits to Spring, yet. ** Martin > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org