-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: dataIssues in data modules (jdbc, orm, oxm, tx)Issues in data modules (jdbc, orm, oxm, tx)in: testIssues in the test moduleIssues in the test moduletheme: aotAn issue related to Ahead-of-time processingAn issue related to Ahead-of-time processingtype: documentationA documentation taskA documentation task
Milestone
Description
Overview
While running JPA tests in the spring-test module in AOT mode, I noticed that we do not support dependency injection in an instance of a test class via @PersistenceContext and @PersistenceUnit.
For example, the following field in AbstractEjbTxDaoTestNGTests is not injected when running in AOT mode.
@PersistenceContext
protected EntityManager em;Related Issues
Metadata
Metadata
Assignees
Labels
in: dataIssues in data modules (jdbc, orm, oxm, tx)Issues in data modules (jdbc, orm, oxm, tx)in: testIssues in the test moduleIssues in the test moduletheme: aotAn issue related to Ahead-of-time processingAn issue related to Ahead-of-time processingtype: documentationA documentation taskA documentation task