Package adams.db
Interface ReconnectableDatabaseConnection
-
- All Known Implementing Classes:
AbstractReconnectableDatabaseConnection
public interface ReconnectableDatabaseConnectionFor database connection classes that offer reconnecting to another database.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanreconnect(String url, String user, BasePassword password)Reconnects with the given parameters if they differ from the current settings.
-
-
-
Method Detail
-
reconnect
boolean reconnect(String url, String user, BasePassword password)
Reconnects with the given parameters if they differ from the current settings.- Parameters:
url- the JDBC URLuser- the database userpassword- the database password- Returns:
- true if the reconnect was successful (or not necessary)
-
-