Class DialectFactoryBean

  • All Implemented Interfaces:
    org.springframework.beans.factory.FactoryBean<Dialect>

    public class DialectFactoryBean
    extends Object
    implements org.springframework.beans.factory.FactoryBean<Dialect>
    Factory for the DB dialect. Allows dialect detection logic to be centralized and the dialect to be injected where required as a singleton from the container.
    Since:
    6.0
    Author:
    dward
    • Constructor Detail

      • DialectFactoryBean

        public DialectFactoryBean()
    • Method Detail

      • setDataSource

        public void setDataSource​(DataSource dataSource)
      • getObjectType

        public Class<?> getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean<Dialect>
      • isSingleton

        public boolean isSingleton()
        Specified by:
        isSingleton in interface org.springframework.beans.factory.FactoryBean<Dialect>