Class DinoDataJdbcConfiguration

java.lang.Object
org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
cn.dinodev.spring.data.autoconfig.DinoDataJdbcConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Configuration(proxyBeanMethods=false) public class DinoDataJdbcConfiguration extends org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
Author:
Cody Lu
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.data.jdbc.core.convert.JdbcCustomConversions
     
    org.springframework.data.jdbc.core.mapping.JdbcMappingContext
    jdbcMappingContext(Optional<org.springframework.data.relational.core.mapping.NamingStrategy> namingStrategy, org.springframework.data.jdbc.core.convert.JdbcCustomConversions customConversions, org.springframework.data.relational.RelationalManagedTypes jdbcManagedTypes)
     
    protected Set<Class<?>>
    scanForEntities(String basePackage)
     
    void
    setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
     
    protected List<?>
     

    Methods inherited from class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration

    dataAccessStrategyBean, getInitialEntitySet, getMappingBasePackages, idGeneratingBeforeSaveCallback, jdbcAggregateTemplate, jdbcConverter, jdbcDialect, jdbcManagedTypes

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DinoDataJdbcConfiguration

      public DinoDataJdbcConfiguration()
  • Method Details

    • jdbcMappingContext

      @NonNull public org.springframework.data.jdbc.core.mapping.JdbcMappingContext jdbcMappingContext(@NonNull Optional<org.springframework.data.relational.core.mapping.NamingStrategy> namingStrategy, @NonNull org.springframework.data.jdbc.core.convert.JdbcCustomConversions customConversions, @NonNull org.springframework.data.relational.RelationalManagedTypes jdbcManagedTypes)
      Overrides:
      jdbcMappingContext in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
    • userConverters

      @NonNull protected List<?> userConverters()
      Overrides:
      userConverters in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
    • jdbcCustomConversions

      @Bean @NonNull public org.springframework.data.jdbc.core.convert.JdbcCustomConversions jdbcCustomConversions()
      Overrides:
      jdbcCustomConversions in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
    • scanForEntities

      @NonNull protected Set<Class<?>> scanForEntities(@NonNull String basePackage)
      Overrides:
      scanForEntities in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
    • setApplicationContext

      public void setApplicationContext(@NonNull org.springframework.context.ApplicationContext applicationContext)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Overrides:
      setApplicationContext in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration