Class R2dbcMappingContext
java.lang.Object
org.springframework.data.mapping.context.AbstractMappingContext<RelationalPersistentEntity<?>,RelationalPersistentProperty>
org.springframework.data.relational.core.mapping.RelationalMappingContext
org.springframework.data.r2dbc.mapping.R2dbcMappingContext
- All Implemented Interfaces:
Aware
,InitializingBean
,ApplicationContextAware
,ApplicationEventPublisherAware
,MappingContext<RelationalPersistentEntity<?>,
RelationalPersistentProperty>
R2DBC-specific extension to
RelationalMappingContext
.- Author:
- Mark Paluch
-
Constructor Summary
ConstructorDescriptionCreate a newR2dbcMappingContext
.R2dbcMappingContext
(NamingStrategy namingStrategy) Create a newR2dbcMappingContext
using the givenNamingStrategy
. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Methods inherited from class org.springframework.data.relational.core.mapping.RelationalMappingContext
applyDefaults, createPersistentEntity, createPersistentProperty, getAggregatePath, getAggregatePath, getNamingStrategy, getPersistentEntity, isForceQuote, isSingleQueryLoadingEnabled, setApplicationContext, setForceQuote, setSingleQueryLoadingEnabled, setSqlIdentifierSanitizer
Methods inherited from class org.springframework.data.mapping.context.AbstractMappingContext
addPersistentEntity, addPersistentEntity, afterPropertiesSet, doFindPersistentPropertyPaths, findPersistentPropertyPaths, getManagedTypes, getPersistentEntities, getPersistentEntity, getPersistentEntity, getPersistentPropertyPath, getPersistentPropertyPath, getPersistentPropertyPath, hasPersistentEntityFor, initialize, setApplicationEventPublisher, setInitialEntitySet, setManagedTypes, setSimpleTypeHolder, setStrict, shouldCreateProperties
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.mapping.context.MappingContext
getRequiredPersistentEntity, getRequiredPersistentEntity, getRequiredPersistentEntity
-
Constructor Details
-
R2dbcMappingContext
public R2dbcMappingContext()Create a newR2dbcMappingContext
. -
R2dbcMappingContext
Create a newR2dbcMappingContext
using the givenNamingStrategy
.- Parameters:
namingStrategy
- must not be null.
-
-
Method Details
-
shouldCreatePersistentEntityFor
- Overrides:
shouldCreatePersistentEntityFor
in classAbstractMappingContext<RelationalPersistentEntity<?>,
RelationalPersistentProperty>
-