Package io.jmix.data.persistence
Class DbmsType
java.lang.Object
io.jmix.data.persistence.DbmsType
INTERNAL.
System level wrapper around DBMS-related application properties.
For data conversion on the middleware use DbTypeConverter
obtained from
DbmsSpecifics
bean.
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final Map<org.springframework.boot.jdbc.DatabaseDriver,
org.springframework.orm.jpa.vendor.Database> protected org.springframework.core.env.Environment
protected StoreAwareLocator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static org.springframework.orm.jpa.vendor.Database
getDatabase
(DataSource dataSource) getType()
getVersion
(String storeName)
-
Field Details
-
environment
@Autowired protected org.springframework.core.env.Environment environment -
storeAwareLocator
-
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
-
getType
-
getVersion
-
getVersion
-
getDatabase
@Nullable protected static org.springframework.orm.jpa.vendor.Database getDatabase(DataSource dataSource)
-