File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/aot Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 4242 * @author Mark Paluch
4343 * @since 4.0
4444 */
45- class EntityGraphLookup {
46-
47- private final EntityManagerFactory entityManagerFactory ;
48-
49- public EntityGraphLookup (EntityManagerFactory entityManagerFactory ) {
50- this .entityManagerFactory = entityManagerFactory ;
51- }
45+ record EntityGraphLookup (EntityManagerFactory entityManagerFactory ) {
5246
5347 @ SuppressWarnings ("unchecked" )
5448 public @ Nullable AotEntityGraph findEntityGraph (MergedAnnotation <EntityGraph > entityGraph ,
Original file line number Diff line number Diff line change 5454import org .springframework .util .StringUtils ;
5555
5656/**
57- * Factory for {@link AotQueries}.
57+ * Factory for {@link AotQueries}. Requires {@link EntityManagerFactory} for named query resolution and
58+ * {@link Metamodel} for query derivation to navigate the entity model.
5859 *
5960 * @author Mark Paluch
6061 * @author Christoph Strobl
You can’t perform that action at this time.
0 commit comments