public class JDBCUtils extends Object
| Constructor and Description |
|---|
JDBCUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createTableIfNotExists(Connection connection,
String tableName,
String sql) |
static JDBCSequentialFileFactoryDriver |
getDBFileDriver(String driverClass,
String tableName,
String jdbcConnectionUrl) |
static Driver |
getDriver(String className) |
static SQLProvider |
getSQLProvider(String driverClass,
String tableName) |
public static void createTableIfNotExists(Connection connection, String tableName, String sql) throws SQLException
SQLExceptionpublic static SQLProvider getSQLProvider(String driverClass, String tableName)
public static JDBCSequentialFileFactoryDriver getDBFileDriver(String driverClass, String tableName, String jdbcConnectionUrl) throws SQLException
SQLExceptionCopyright © 2016 The Apache Software Foundation. All Rights Reserved.