org.springframework.jdbc.datasource
Class AbstractDataSource
- Direct Known Subclasses:
- DriverManagerDataSource
- public abstract class AbstractDataSource
- implements DataSource
Abstract base class for Spring's DataSource implementations,
taking care of the "uninteresting" glue.
- Author:
- Juergen Hoeller
- Version: $Id: AbstractDataSource.java,v 1.1.1.1 2003/08/14 16:20:31 trisberg Exp $
- Since: 07.05.2003
- See Also: DriverManagerDataSource
getLoginTimeout
public int getLoginTimeout()
throws java.sql.SQLException
- Returns 0: means use default system timeout.
getLogWriter
public PrintWriter getLogWriter()
- LogWriter methods are unsupported.
setLoginTimeout
public void setLoginTimeout(int timeout)
throws java.sql.SQLException
setLogWriter
public void setLogWriter(PrintWriter pw)
throws java.sql.SQLException
- LogWriter methods are unsupported.