@AutoConfiguration(before = [DataNeo4jAutoConfiguration::class])
class GraphglueMappingAutoConfiguration

Provides the Neo4jMappingContext Graphglue needs.

This has to be registered before DataNeo4jAutoConfiguration, as that autoconfiguration provides a Neo4jMappingContext which is built without a PersistentPropertyCharacteristicsProvider, and the first matching bean definition wins.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Bean
@ConditionalOnMissingBean
fun neo4jMappingContext(managedTypes: Neo4jManagedTypes, neo4jConversions: Neo4jConversions, persistentPropertyCharacteristicsProvider: PersistentPropertyCharacteristicsProvider): Neo4jMappingContext

The Neo4jMappingContext, built with the PersistentPropertyCharacteristicsProvider

@Bean
@ConditionalOnMissingBean
fun persistentPropertyCharacteristicsProvider(): PersistentPropertyCharacteristicsProvider

Ensures that BaseNodePropertyDelegates are ignored