transaction « JPA « JSF Q&A





1. Hibernate error: current transaction is aborted, commands ignored until end of transaction block    stackoverflow.com

I randomly see the same error in the catalina.out log:

WARNING: SQL Error: 0, SQLState: 25P02
Sep 8, 2010 11:50:13 PM org.hibernate.util.JDBCExceptionReporter logExceptions
SEVERE: ERROR: current transaction is aborted, commands ignored until end of ...

2. JSF 2.0 entity manager Transaction problems during render phase    stackoverflow.com

When rendering the final view during the render phase, hibernate throws

failed to lazily initialize a collection of role
And I suppose this is because there is no transaction to fetch lazy ...