| Package | Description |
|---|---|
| org.springframework.data.neo4j.config |
This package contains configuration related support classes that can be used for application specific, annotated
configuration classes.
|
| org.springframework.data.neo4j.core |
This package contains the core infrastructure for creating a imperative or reactive client that can execute queries.
|
| org.springframework.data.neo4j.core.transaction |
Contains the core infrastructure for translating unmanaged Neo4j transaction into Spring managed transactions.
|
| Modifier and Type | Method and Description |
|---|---|
protected DatabaseSelectionProvider |
AbstractNeo4jConfig.databaseSelectionProvider()
Configures the database name provider.
|
| Modifier and Type | Method and Description |
|---|---|
Neo4jOperations |
AbstractNeo4jConfig.neo4jTemplate(Neo4jClient neo4jClient,
Neo4jMappingContext mappingContext,
DatabaseSelectionProvider databaseNameProvider) |
PlatformTransactionManager |
AbstractNeo4jConfig.transactionManager(org.neo4j.driver.Driver driver,
DatabaseSelectionProvider databaseNameProvider)
Provides a
PlatformTransactionManager for Neo4j based on the driver resulting from AbstractNeo4jConfig.driver(). |
| Modifier and Type | Method and Description |
|---|---|
static DatabaseSelectionProvider |
DatabaseSelectionProvider.createStaticDatabaseSelectionProvider(String databaseName)
Creates a statically configured database selection provider always selecting the database with the given name
databaseName. |
static DatabaseSelectionProvider |
DatabaseSelectionProvider.getDefaultSelectionProvider()
A database selection provider always returning the default selection.
|
| Constructor and Description |
|---|
Neo4jTemplate(Neo4jClient neo4jClient,
Neo4jMappingContext neo4jMappingContext,
DatabaseSelectionProvider databaseSelectionProvider) |
Neo4jTemplate(Neo4jClient neo4jClient,
Neo4jMappingContext neo4jMappingContext,
DatabaseSelectionProvider databaseSelectionProvider,
EntityCallbacks entityCallbacks) |
| Constructor and Description |
|---|
Neo4jTransactionManager(org.neo4j.driver.Driver driver,
DatabaseSelectionProvider databaseSelectionProvider) |
Copyright © 2019–2021 Neo4j, Neo4j Sweden AB. All rights reserved.