Lee Harrington on 09/09/05 14:59, wrote:
Would love to get some "best practices" for setting up hibernate with
struts. I'm gettin "staleobject" exceptions when I'm the only one editing. I
had this problem with Hibernate 2 and eventually solved it, but never really
understood.
Now the problem is back, and I'm stuck again.
Not sure what to put in the hbm.xml when it comes to version.
Not sure that to put in my action, my tableService class, when to begin the
transaction, how to end it (applicaiton filter?)
Anybody got the 411 on how to properly set things up?
What Hibernate pattern are you using for session management? Check out
the Hibernate docs here:
http://www.hibernate.org/37.html
HTH
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]