spring-framework/framework-docs
Sam Brannen 934394eb2a Document AOT workaround for @⁠PersistenceContext & @⁠PersistenceUnit in tests
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 096303c477
See gh-33414
Closes gh-31442
2025-11-05 14:30:41 +01:00
..
modules/ROOT Document AOT workaround for @⁠PersistenceContext & @⁠PersistenceUnit in tests 2025-11-05 14:30:41 +01:00
src Review HttpMessageConverters semantics in Builder 2025-10-31 17:18:28 +01:00
antora-playbook.yml Upgrade to antora-ui-spring version 0.4.18 2024-11-15 14:32:01 +01:00
antora.yml Consistent line breaks in reference documentation 2025-07-10 19:33:34 +02:00
framework-docs.gradle Upgrade the build to Java 25 2025-09-23 15:57:21 +02:00
package.json Fix broken antora task 2025-02-19 16:40:50 +01:00