Class R2dbcMappingContext

java.lang.Object
org.springframework.data.mapping.context.AbstractMappingContext<org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?>,org.springframework.data.relational.core.mapping.RelationalPersistentProperty>
org.springframework.data.relational.core.mapping.RelationalMappingContext
org.springframework.data.r2dbc.mapping.R2dbcMappingContext
All Implemented Interfaces:
Aware, InitializingBean, ApplicationContextAware, ApplicationEventPublisherAware, MappingContext<org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?>,org.springframework.data.relational.core.mapping.RelationalPersistentProperty>

public class R2dbcMappingContext extends org.springframework.data.relational.core.mapping.RelationalMappingContext
R2DBC-specific extension to RelationalMappingContext.
Author:
Mark Paluch
  • Constructor Details

    • R2dbcMappingContext

      public R2dbcMappingContext()
      Create a new R2dbcMappingContext.
    • R2dbcMappingContext

      public R2dbcMappingContext(org.springframework.data.relational.core.mapping.NamingStrategy namingStrategy)
      Create a new R2dbcMappingContext using the given NamingStrategy.
      Parameters:
      namingStrategy - must not be null.
  • Method Details

    • shouldCreatePersistentEntityFor

      protected boolean shouldCreatePersistentEntityFor(TypeInformation<?> type)
      Overrides:
      shouldCreatePersistentEntityFor in class AbstractMappingContext<org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?>,org.springframework.data.relational.core.mapping.RelationalPersistentProperty>