Package org.firebirdsql.ds
Class RootCommonDataSource
- java.lang.Object
- 
- org.firebirdsql.ds.RootCommonDataSource
 
- 
- All Implemented Interfaces:
- javax.sql.CommonDataSource
 - Direct Known Subclasses:
- FBAbstractCommonDataSource,- FBDataSource,- FBSimpleDataSource
 
 public abstract class RootCommonDataSource extends java.lang.Object implements javax.sql.CommonDataSourceRoot superclass for the datasources in Firebird.Used to workaround incompatibilities introduced for JDBC 3.0 and earlier by JDBC 4.1 (getParentLogger). - Since:
- 2.2
- Author:
- Mark Rotteveel
 
- 
- 
Constructor SummaryConstructors Constructor Description RootCommonDataSource()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.PrintWritergetLogWriter()java.util.logging.LoggergetParentLogger()voidsetLogWriter(java.io.PrintWriter out)
 
- 
- 
- 
Method Detail- 
getLogWriterpublic java.io.PrintWriter getLogWriter() throws java.sql.SQLException- Specified by:
- getLogWriterin interface- javax.sql.CommonDataSource
- Throws:
- java.sql.SQLException
 
 - 
setLogWriterpublic void setLogWriter(java.io.PrintWriter out) throws java.sql.SQLException- Specified by:
- setLogWriterin interface- javax.sql.CommonDataSource
- Throws:
- java.sql.SQLException
 
 - 
getParentLoggerpublic java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException- Specified by:
- getParentLoggerin interface- javax.sql.CommonDataSource
- Throws:
- java.sql.SQLFeatureNotSupportedException
 
 
- 
 
-