public class DatabaseUtils extends Object
| Constructor and Description |
|---|
DatabaseUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
checkTableExists(Connection connnection,
String tableName) |
static Boolean |
checkTableExists(String tableName)
Methode zum überprüfen ob eine Tabelle existert oder nicht
|
static com.zaxxer.hikari.HikariDataSource |
createDefaultDatasource(String url,
String username,
String password,
String driverClass) |
static void |
testConnection(String url,
String username,
String password,
String driverClass) |
public static Boolean checkTableExists(Connection connnection, String tableName)
public static Boolean checkTableExists(String tableName)
public static com.zaxxer.hikari.HikariDataSource createDefaultDatasource(String url, String username, String password, String driverClass) throws ClassNotFoundException, SQLException
ClassNotFoundExceptionSQLExceptionCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.