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
  

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 kcola...@live.com  
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 to this, which tells you what you did wrong:  
http://stackoverflow.com/questions/10849974/a-different-object-with-the-same-identifier-value-was-already-associated-with-th.  
Please check whether the issue is a Tapestry one before posting in the  
Tapestry mailing list. And please always post the full stack trace.


--
Thiago H. de Paula Figueiredo

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org