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.