Package de.xima.fc.db
Class DatabaseUtils
- java.lang.Object
-
- de.xima.fc.db.DatabaseUtils
-
- Direct Known Subclasses:
DatabaseUtils
public class DatabaseUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description DatabaseUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BooleancheckTableExists(String tableName)Methode zum Überprüfen, ob eine Tabelle existiert oder nichtstatic BooleancheckTableExists(Connection connection, String tableName)static com.zaxxer.hikari.HikariDataSourcecreateDefaultDatasource(String url, String username, String password, String driverClass)Deprecated.static voidtestConnection(String url, String username, String password, String driverClass)Deprecated.
-
-
-
Method Detail
-
checkTableExists
public static Boolean checkTableExists(Connection connection, String tableName)
-
checkTableExists
public static Boolean checkTableExists(String tableName)
Methode zum Überprüfen, ob eine Tabelle existiert oder nicht
-
createDefaultDatasource
@Deprecated public static com.zaxxer.hikari.HikariDataSource createDefaultDatasource(String url, String username, String password, String driverClass) throws ClassNotFoundException, SQLException
Deprecated.- Throws:
ClassNotFoundExceptionSQLException
-
-