For a @Cacheable parent entity that embeds a child embeddable with a @Parent attribute, the parent attribute is correctly initialized if cached is not enabled, and is null if cache is enabled. Worked in 5.6.15. Broken with 6.0.2, 6.1.7, 6.2.6. hibernate-test-case-templates use-case is coming. |