org.mmbase.module.database
Interface JDBCInterface
- All Known Implementing Classes:
- JDBC, Naming
- public interface JDBCInterface
JDBCInterface is _only_ the module JDBC interface who setup the connections
it has nothing tofo with the JDBC interface.
- Version:
- $Id: JDBCInterface.java,v 1.7 2004/10/07 17:22:35 pierre Exp $
- Author:
- vpro
- Warning: Contains Duplicate Code (present in other classes)
- Not really needed. Remove and reference JDBC directly. Note that direct
references to JDBC will be removed from most of the core (only the storagemanagerfactory
will reference the JDBC module directly)
makeUrl
public String makeUrl()
- Warning: No Java Documentation Available.
makeUrl
public String makeUrl(String dbm)
- Warning: No Java Documentation Available.
makeUrl
public String makeUrl(String host,
String dbm)
- Warning: No Java Documentation Available.
makeUrl
public String makeUrl(String host,
int port,
String dbm)
- Warning: No Java Documentation Available.
getConnection
public MultiConnection getConnection(String url,
String name,
String password)
throws SQLException
- Throws:
SQLException- Warning: No Java Documentation Available.
getConnection
public MultiConnection getConnection(String url)
throws SQLException
- Throws:
SQLException- Warning: No Java Documentation Available.
getDirectConnection
public Connection getDirectConnection(String url)
throws SQLException
- Throws:
SQLException- Warning: No Java Documentation Available.
getDirectConnection
public Connection getDirectConnection(String url,
String name,
String password)
throws SQLException
- Throws:
SQLException- Warning: No Java Documentation Available.
getUser
public String getUser()
- Warning: No Java Documentation Available.
getPassword
public String getPassword()
- Warning: No Java Documentation Available.
getDatabaseName
public String getDatabaseName()
- Warning: No Java Documentation Available.
checkTime
public void checkTime()
- Warning: No Java Documentation Available.
MMBase build 1.8.1.20060716