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
,org.springframework.data.mapping.context.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
shouldCreatePersistentEntityFor
(org.springframework.data.util.TypeInformation<?> type) Methods inherited from class org.springframework.data.relational.core.mapping.RelationalMappingContext
createPersistentEntity, createPersistentProperty, getNamingStrategy, isForceQuote, setForceQuote
Methods inherited from class org.springframework.data.mapping.context.AbstractMappingContext
addPersistentEntity, addPersistentEntity, afterPropertiesSet, doFindPersistentPropertyPaths, findPersistentPropertyPaths, getManagedTypes, getPersistentEntities, getPersistentEntity, getPersistentEntity, getPersistentEntity, getPersistentPropertyPath, getPersistentPropertyPath, hasPersistentEntityFor, initialize, setApplicationContext, setApplicationEventPublisher, setInitialEntitySet, setManagedTypes, setSimpleTypeHolder, setStrict
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
protected boolean shouldCreatePersistentEntityFor(org.springframework.data.util.TypeInformation<?> type) - Overrides:
shouldCreatePersistentEntityFor
in classorg.springframework.data.mapping.context.AbstractMappingContext<RelationalPersistentEntity<?>,
RelationalPersistentProperty>
-