Class DbmsType

java.lang.Object
io.jmix.data.persistence.DbmsType

@Component("data_DbmsType") public class DbmsType extends Object
INTERNAL. System level wrapper around DBMS-related application properties.

For data conversion on the middleware use DbTypeConverter obtained from DbmsSpecifics bean.

  • Field Details

    • environment

      @Autowired protected org.springframework.core.env.Environment environment
    • storeAwareLocator

      @Autowired protected StoreAwareLocator storeAwareLocator
    • types

      protected Map<String,String> types
    • driverToDbMap

      protected static final Map<org.springframework.boot.jdbc.DatabaseDriver,org.springframework.orm.jpa.vendor.Database> driverToDbMap
  • Constructor Details

    • DbmsType

      public DbmsType()
  • Method Details

    • getType

      public String getType()
    • getType

      public String getType(String storeName)
    • getVersion

      public String getVersion()
    • getVersion

      public String getVersion(String storeName)
    • getDatabase

      @Nullable protected static org.springframework.orm.jpa.vendor.Database getDatabase(DataSource dataSource)