Register / Login
Object Relational Mapping
Use in DAO in hibernate CallBack such as PreRemove
posted 8 years ago
I understand that the entity manager is fragile state during the call back listner stage.
So i wonder what can i do if i want to save an object during
Now , i obtain my DAO in this step and use it and it work , but as i said above i understood that this is not a good practice
I work with Ejb3 (
4.2 , JPA)
Entity lifecycle listeners behave differently
How to test persistence layer of a web based application?
When do ejb 3 entity bean get/set methods get called
PrePersist doesn't work with Hibernate Template
Delete entity, good way to unwire/unassociate from another entity