Class DinoJdbcMappingContext

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.jdbc.core.mapping.JdbcMappingContext
cn.dinodev.spring.data.jdbc.DinoJdbcMappingContext
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.EnvironmentAware, org.springframework.data.mapping.context.MappingContext<org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?>,org.springframework.data.relational.core.mapping.RelationalPersistentProperty>

public class DinoJdbcMappingContext extends org.springframework.data.jdbc.core.mapping.JdbcMappingContext
Author:
Cody Lu
  • Constructor Summary

    Constructors
    Constructor
    Description
    DinoJdbcMappingContext(org.springframework.data.relational.core.mapping.NamingStrategy namingStrategy)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected <T> org.springframework.data.relational.core.mapping.RelationalPersistentEntity<T>
    createPersistentEntity(org.springframework.data.util.TypeInformation<T> typeInformation)
     
    protected org.springframework.data.relational.core.mapping.RelationalPersistentProperty
    createPersistentProperty(org.springframework.data.mapping.model.Property property, org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?> owner, org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
     
    protected boolean
    shouldCreatePersistentEntityFor(org.springframework.data.util.TypeInformation<?> type)
     

    Methods inherited from class org.springframework.data.relational.core.mapping.RelationalMappingContext

    applyDefaults, 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, setBeanFactory, setEnvironment, 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

    • DinoJdbcMappingContext

      public DinoJdbcMappingContext(org.springframework.data.relational.core.mapping.NamingStrategy namingStrategy)
  • Method Details

    • createPersistentEntity

      protected <T> org.springframework.data.relational.core.mapping.RelationalPersistentEntity<T> createPersistentEntity(org.springframework.data.util.TypeInformation<T> typeInformation)
      Overrides:
      createPersistentEntity in class org.springframework.data.relational.core.mapping.RelationalMappingContext
    • createPersistentProperty

      protected org.springframework.data.relational.core.mapping.RelationalPersistentProperty createPersistentProperty(org.springframework.data.mapping.model.Property property, org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?> owner, org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
      Overrides:
      createPersistentProperty in class org.springframework.data.jdbc.core.mapping.JdbcMappingContext
    • shouldCreatePersistentEntityFor

      protected boolean shouldCreatePersistentEntityFor(org.springframework.data.util.TypeInformation<?> type)
      Overrides:
      shouldCreatePersistentEntityFor in class org.springframework.data.jdbc.core.mapping.JdbcMappingContext