Re: tapestry method exception

2013-03-29 Thread Thiago H de Paula Figueiredo
On Fri, 29 Mar 2013 16:54:29 -0300, Ken in Nashua wrote: a different object with the same identifier value was already associated with the session: [org.tynamo.examples.pphl.model.AdminLayout#1] This is a pure Hibernate problem in your code. Just Googling the error message above led me t

RE: tapestry method exception

2013-03-29 Thread Ken in Nashua
Ok the catch block is vestigial since the exception is thrown after the method is processed... not during... So back to commenting out the code to seed my database. Does anyone have any ideas? I cant invoke a hibernate session here due to separation of concerns. Thanks

tapestry method exception

2013-03-29 Thread Ken in Nashua
Folks, I am trying to seed my database with two default standard entities. is there a reason why tapestry wont allow me to catch this exception ? Its really annoying. that I have to comment out and uncomment the code just to get my databse seeded properly. I thought catchign the exception woul