EJB/JPA Transaction Boundaries
问题 I was reading EJB Transaction boundary and Transaction boundary Lets concentrate on RequiresNew Attribute . Here is the modified diagram from the link So let say method-B is annotated with RequiredNew attribute . so according to theory when method-A calls method-B a new transaction will be start and the already started transaction will be suspended, and when method-B returns the new transaction will be committed. Now consider that in section S1 we create a jpa entity using entitymanager