propagation « Transaction « JPA Q&A





1. Optimistic lock propagation on many-to-many    forum.hibernate.org

Hello, I have class Operator with basic data and set of bosses which are operators also. So this is many-to-many relation because each operator can have one or more bosses and also one or more employees. I create additional table OperatorHierarchy with BossID and EmployeeID columns. In mapping files i define sets like this: ...

2. EJB transaction propagation    forum.hibernate.org

Hi All, Currently in our project we are using EJB (Stateless Session Beans) & Hibernate. We are not using Spring. All the SLSB's are container managed and we will start our transaction at the EJB layer which tehn gets propagated to the Hibernate layer. My question here is do we need to set some specific configuration in such a way that ...