javax.sql
Interface DataSource
public interface DataSource
- Since:
- 1.4
getConnection
Connection getConnection()
throws SQLException
- Throws:
SQLException
- Since:
- 1.4
getConnection
Connection getConnection(String username,
String password)
throws SQLException
- Throws:
SQLException
- Since:
- 1.4
getLogWriter
PrintWriter getLogWriter()
throws SQLException
- Throws:
SQLException
- Since:
- 1.4
setLogWriter
void setLogWriter(PrintWriter out)
throws SQLException
- Throws:
SQLException
- Since:
- 1.4
setLoginTimeout
void setLoginTimeout(int seconds)
throws SQLException
- Throws:
SQLException
- Since:
- 1.4
getLoginTimeout
int getLoginTimeout()
throws SQLException
- Throws:
SQLException
- Since:
- 1.4