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.CommonDataSource
Root 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 Summary
Constructors Constructor Description RootCommonDataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.PrintWriter
getLogWriter()
java.util.logging.Logger
getParentLogger()
void
setLogWriter(java.io.PrintWriter out)
-
-
-
Method Detail
-
getLogWriter
public java.io.PrintWriter getLogWriter() throws java.sql.SQLException
- Specified by:
getLogWriter
in interfacejavax.sql.CommonDataSource
- Throws:
java.sql.SQLException
-
setLogWriter
public void setLogWriter(java.io.PrintWriter out) throws java.sql.SQLException
- Specified by:
setLogWriter
in interfacejavax.sql.CommonDataSource
- Throws:
java.sql.SQLException
-
getParentLogger
public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException
- Specified by:
getParentLogger
in interfacejavax.sql.CommonDataSource
- Throws:
java.sql.SQLFeatureNotSupportedException
-
-