Package de.willuhn.jameica.hbci.server
Class AbstractDBSupportImpl
java.lang.Object
de.willuhn.jameica.hbci.server.AbstractDBSupportImpl
- All Implemented Interfaces:
DBSupport,Serializable
- Direct Known Subclasses:
DBSupportH2Impl,DBSupportMySqlImpl,DBSupportPostgreSQLImpl
Abstrakte Basisklasse fuer den Datenbank-Support.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckConnection(Connection conn) Prueft die Datenbankverbindung.voidexecute(Connection conn, File sqlScript) Fuehrt ein SQL-Update-Script auf der Datenbank aus.intLiefert das Transaction-Isolation-Level.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.willuhn.jameica.hbci.rmi.DBSupport
getInsertWithID, getJdbcDriver, getJdbcPassword, getJdbcUrl, getJdbcUsername, getScriptPrefix, getSQLTimestamp
-
Constructor Details
-
AbstractDBSupportImpl
public AbstractDBSupportImpl()
-
-
Method Details
-
execute
Description copied from interface:DBSupportFuehrt ein SQL-Update-Script auf der Datenbank aus.- Specified by:
executein interfaceDBSupport- Parameters:
conn- die Datenbank-Connection.sqlScript- das SQL-Script.- Throws:
RemoteException- See Also:
-
getTransactionIsolationLevel
Description copied from interface:DBSupportLiefert das Transaction-Isolation-Level.- Specified by:
getTransactionIsolationLevelin interfaceDBSupport- Returns:
- das Transaction-Isolation-Level.
- Throws:
RemoteException- See Also:
-
checkConnection
Description copied from interface:DBSupportPrueft die Datenbankverbindung.- Specified by:
checkConnectionin interfaceDBSupport- Parameters:
conn- die Datenbank-Connection.- Throws:
RemoteException- Wenn die Verbindung defekt ist und vom DB-Service neu erzeugt werden muss.- See Also:
-