Although @PersistenceContext and @PersistenceUnit are still not
supported in tests running in AOT mode, as of Spring Framework 7.0,
developers can inject an EntityManager or EntityManagerFactory into
tests using @Autowired instead of @PersistenceContext and
@PersistenceUnit, respectively.
See commit
|
||
|---|---|---|
| .. | ||
| modules/ROOT | ||
| src | ||
| antora-playbook.yml | ||
| antora.yml | ||
| framework-docs.gradle | ||
| package.json | ||