Skip to content

Managed types for Neo4j are not used in Neo4j Data auto configuration. #37573

@michael-simons

Description

@michael-simons

The auto configuration for imperative and reactive Spring Data variant still uses

Set<Class<?>> initialEntityClasses = new EntityScanner(applicationContext).scan(Node.class,
				RelationshipProperties.class);

as initial entity classes for the mapping context. This works fine in JVM mode and to some extent in native mode. It fails however with certain inheritance scenarios (See spring-projects/spring-data-neo4j#2798).

The solution is to use populate the mapping context with the managed entities and I'll have a PR up in a moment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: supersededAn issue that has been superseded by another

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions