Class DriverUtils
- java.lang.Object
-
- com.github.database.rider.core.util.DriverUtils
-
public class DriverUtils extends Object
Created by pestano on 07/09/16.
-
-
Constructor Summary
Constructors Constructor Description DriverUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetDriverName(Connection connection)static booleanisDB2(String driverName)static booleanisH2(String driverName)static booleanisHsql(String driverName)static booleanisMsSql(String driverName)static booleanisMysql(String driverName)static booleanisOracle(String driverName)static booleanisPostgre(String driverName)
-
-
-
Method Detail
-
isMsSql
public static boolean isMsSql(String driverName)
-
isHsql
public static boolean isHsql(String driverName)
-
isH2
public static boolean isH2(String driverName)
-
isMysql
public static boolean isMysql(String driverName)
-
isPostgre
public static boolean isPostgre(String driverName)
-
isOracle
public static boolean isOracle(String driverName)
-
isDB2
public static boolean isDB2(String driverName)
-
getDriverName
public static String getDriverName(Connection connection)
-
-