public class JaDepotDBServiceImpl extends de.willuhn.datasource.db.EmbeddedDBServiceImpl implements JaDepotDBService
Constructor and Description |
---|
JaDepotDBServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
checkConsistency()
Überprüft die Konsistenz der Datenbank und führt bei
Bedarf Updates durch.
|
protected java.sql.Connection |
getConnection() |
void |
install()
Initialisiert/erzeugt die Datenbank.
|
checkConnection, createList, createObject, execute, getAutoCommit, getInsertWithID, getJdbcDriver, getJdbcPassword, getJdbcUrl, getJdbcUsername, getName, getTransactionIsolationLevel, isStartable, isStarted, setClassFinder, setClassloader, start, stop
clone, exportObject, exportObject, exportObject, unexportObject
equals, getRef, hashCode, toString, toStub
finalize, getClass, notify, notifyAll, wait, wait, wait
public JaDepotDBServiceImpl() throws java.rmi.RemoteException
java.rmi.RemoteException
- rmi-exceptionpublic void checkConsistency() throws java.rmi.RemoteException, de.willuhn.util.ApplicationException
JaDepotDBService
checkConsistency
in interface JaDepotDBService
java.rmi.RemoteException
- Wenn es beim der Überprüfung zu einem Fehler kam.de.willuhn.util.ApplicationException
- Wenn die Datenbank-Konsistenz nicht gew%auml;hrleistet ist.JaDepotDBService.checkConsistency()
public void install() throws java.rmi.RemoteException
JaDepotDBService
install
in interface JaDepotDBService
java.rmi.RemoteException
- Wenn beim Initialisieren ein Fehler auftrat.JaDepotDBService.install()
protected java.sql.Connection getConnection() throws java.rmi.RemoteException
getConnection
in class de.willuhn.datasource.db.DBServiceImpl
java.rmi.RemoteException
DBServiceImpl.getConnection()