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
SQLException
public static SQLProvider getSQLProvider(String driverClass, String tableName)
public static JDBCSequentialFileFactoryDriver getDBFileDriver(String driverClass, String tableName, String jdbcConnectionUrl) throws SQLException
SQLException
Copyright © 2016 The Apache Software Foundation. All rights reserved.