DBSupport
, java.io.Serializable
DBSupportH2Impl
, DBSupportMySqlImpl
, DBSupportPostgreSQLImpl
public abstract class AbstractDBSupportImpl extends java.lang.Object implements DBSupport
Constructor | Description |
---|---|
AbstractDBSupportImpl() |
Modifier and Type | Method | Description |
---|---|---|
void |
checkConnection(java.sql.Connection conn) |
Prueft die Datenbankverbindung.
|
void |
execute(java.sql.Connection conn,
java.io.File sqlScript) |
Fuehrt ein SQL-Update-Script auf der Datenbank aus.
|
int |
getTransactionIsolationLevel() |
Liefert das Transaction-Isolation-Level.
|
getInsertWithID, getJdbcDriver, getJdbcPassword, getJdbcUrl, getJdbcUsername, getScriptPrefix, getSQLTimestamp
public void execute(java.sql.Connection conn, java.io.File sqlScript) throws java.rmi.RemoteException
DBSupport
execute
in interface DBSupport
conn
- die Datenbank-Connection.sqlScript
- das SQL-Script.java.rmi.RemoteException
DBSupport.execute(java.sql.Connection, java.io.File)
public int getTransactionIsolationLevel() throws java.rmi.RemoteException
DBSupport
getTransactionIsolationLevel
in interface DBSupport
java.rmi.RemoteException
DBSupport.getTransactionIsolationLevel()
public void checkConnection(java.sql.Connection conn) throws java.rmi.RemoteException
DBSupport
checkConnection
in interface DBSupport
conn
- die Datenbank-Connection.java.rmi.RemoteException
- Wenn die Verbindung defekt ist und vom DB-Service neu erzeugt werden muss.DBSupport.checkConnection(java.sql.Connection)