Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.3-incubating
-
None
Description
e.g. a refactoring from:
public class TransactionalBean
{
@Inject
private EntityManager entityManager;
@Transactional
public void executeInTransaction()
}
to
public class TransactionalBean
{
@Inject
private BeanA beanA;
@Inject
private BeanB beanB;
@Transactional
public void executeInTransaction()
{ this.beanA.doA(); this.beanB.doB(); }
}
public class BeanA
{
@Inject
private EntityManager entityManager;
public void doA()
{ //... }
}
public class BeanB
{
@Inject
private EntityManager entityManager;
public void doB()
{ //... }}
isn't possible without using @Transactional(qualifier = Default.class) explicitly.
Attachments
Issue Links
- duplicates
-
DELTASPIKE-319 Fail deployment of app with JPA module when EM not found in same class.
- Closed
- is related to
-
DELTASPIKE-319 Fail deployment of app with JPA module when EM not found in same class.
- Closed