[jboss-user] [JBoss Seam] - Re: org.hibernate.exception.GenericJDBCException: Cannot ope

2007-09-19 Thread fernando_jmt
EntryDuplicatedException is a custome exception I have: | | @ApplicationException(rollback = true) | public class EntryDuplicatedException extends Exception { | | public EntryDuplicatedException() { | } | | } | addDuplicatedMessage() is just a simple method to ad

[jboss-user] [JBoss Seam] - Re: org.hibernate.exception.GenericJDBCException: Cannot ope

2007-09-19 Thread fernando_jmt
"wise_guybg" wrote : | I have been dealing with a similar problem in a previous project at work where we used Hibernate. The solution was to create a backing session that will help you recover gracefully in case of DBException/ContraintViolation. | | I was wondering if something similar c

[jboss-user] [JBoss Seam] - Re: org.hibernate.exception.GenericJDBCException: Cannot ope

2007-09-19 Thread wise_guybg
I'm facing the same problem but with another idea in my mind: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=118991 I have been dealing with a similar problem in a previous project at work where we used Hibernate. The solution was to create a backing session that will help you recover

[jboss-user] [JBoss Seam] - Re: org.hibernate.exception.GenericJDBCException: Cannot ope

2007-09-19 Thread stephen.friedrich
Typically this means there was a previous error that corrupted the transaction. Specifically I have been getting this when trying to use MyFaces Trinidad with Sun's JSF RI. For some strange reason whenever a validation fails from that point on you'll get this error. View the original post : h

[jboss-user] [JBoss Seam] - Re: org.hibernate.exception.GenericJDBCException: Cannot ope

2007-09-19 Thread miloslav.vlach
Hi, I have the same problem you are wrote. Some of DB operations succesed but some throws this exception. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085919#4085919 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085