1. LazyInitialization Exception stackoverflow.comI have 2 Hibernate objects : Dero and Motif. a Dero has a set of Motif. I load a Dero object from the DB fine. but when I try to access its set ... |
2. Why can't I catch EJB exceptions? stackoverflow.comI can't seem to catch exceptions such as NoResultException or EJBException in my java ee 6 project. Is there something I am doing wrong? I have caught exceptions outside ... |
3. JPA deceleration exception stackoverflow.comI am using jboss5.1.x EJB3.0 I am trying my first time with JPA, and I get this exception when I run the server:
..
this is ... |
4. How to persist JPA entities even when EJB method throws an exception? stackoverflow.comI have an EJB, whose method (among other things) persists JPA entity. If the method throws an error, the transaction is rolled back and the entity is not persisted. However, I do ... |
5. Better Exception Handling in JPA stackoverflow.comI used EJB3/JPA when persisting my entities and I am happy on how it is able to manage my DB related task. My only concern is on the exception handling. My sample ... |
6. JPA2:i persist a entity ,there is no exception but the data is not saved in database stackoverflow.comI am using EJB to write a CRUD demo code on netbeans..when i write a code that can save data into database ,there is no error and exception but the data ... |
7. Hibernate EJB3 Exception handling forum.hibernate.orgHi, I am using jboss/jsf/hibernate. Using a facade model, making my calls from a managed bean. i.e session bean -> called from JSF managed bean. I would like to catch constraint excetions , but I have been only successful catching a Runtime exception withing the mangaged bean. I have tried to catch ConstaingViolationException , but it just fall through. What would ... |