枚举类的使用
org.springframework.boot.jdbc.DatabaseDriver
使用DatabaseDriver的程序包
程序包
说明
Support for Java Database Connectivity (JDBC).
Support for initialization of an SQL database using a JDBC
DataSource
.-
org.springframework.boot.jdbc中DatabaseDriver的使用
修饰符和类型方法说明static DatabaseDriver
DatabaseDriver.fromJdbcUrl
(String url) Find aDatabaseDriver
for the given URL.static DatabaseDriver
DatabaseDriver.fromProductName
(String productName) Find aDatabaseDriver
for the given product name.static DatabaseDriver
返回带有指定名称的该类的枚举常量。static DatabaseDriver[]
DatabaseDriver.values()
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同 -
org.springframework.boot.jdbc.init中DatabaseDriver的使用
修饰符和类型方法说明PlatformPlaceholderDatabaseDriverResolver.withDriverPlatform
(DatabaseDriver driver, String platform) Creates a newPlatformPlaceholderDatabaseDriverResolver
that will map the givendriver
to the givenplatform
.