Class DalesbredConfigurationSupport

java.lang.Object
org.dalesbred.integration.spring.DalesbredConfigurationSupport

public abstract class DalesbredConfigurationSupport extends Object
Abstract base class for Spring Configuration to provide Dalesbred integration with Spring services.
  • Constructor Details

    • DalesbredConfigurationSupport

      public DalesbredConfigurationSupport()
  • Method Details

    • dalesbredDatabase

      @Bean public Database dalesbredDatabase(DataSource dataSource, PlatformTransactionManager transactionManager)
    • registerTypeConversions

      protected void registerTypeConversions(@NotNull @NotNull TypeConversionRegistry registry)
      Can be overridden by subclasses to register custom type conversions.
    • setupDatabase

      protected void setupDatabase(@NotNull @NotNull Database db)
      Can be overridden by subclasses to perform custom database setup.
    • dialect

      @Nullable protected @Nullable Dialect dialect()
      Subclasses can override this to return the Dialect to use. By default null is returned, which means that dialect is auto-detected.