枚举类的使用
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 DatabaseDriverDatabaseDriver.fromJdbcUrl(String url) Find aDatabaseDriverfor the given URL.static DatabaseDriverDatabaseDriver.fromProductName(String productName) Find aDatabaseDriverfor the given product name.static DatabaseDriver返回带有指定名称的该类的枚举常量。static DatabaseDriver[]DatabaseDriver.values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同 -
org.springframework.boot.jdbc.init中DatabaseDriver的使用
修饰符和类型方法说明PlatformPlaceholderDatabaseDriverResolver.withDriverPlatform(DatabaseDriver driver, String platform) Creates a newPlatformPlaceholderDatabaseDriverResolverthat will map the givendriverto the givenplatform.