Module io.helidon.integrations.jdbc
Package io.helidon.integrations.jdbc
Class AbstractCommonDataSource
- java.lang.Object
-
- io.helidon.integrations.jdbc.AbstractCommonDataSource
-
- All Implemented Interfaces:
CommonDataSource
- Direct Known Subclasses:
AbstractDataSource
public abstract class AbstractCommonDataSource extends Object implements CommonDataSource
A skeletal implementation of theCommonDataSource
interface.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractCommonDataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLoginTimeout()
PrintWriter
getLogWriter()
Logger
getParentLogger()
void
setLoginTimeout(int loginTimeout)
void
setLogWriter(PrintWriter logWriter)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilder
-
-
-
-
Method Detail
-
getLogWriter
public PrintWriter getLogWriter() throws SQLException
- Specified by:
getLogWriter
in interfaceCommonDataSource
- Throws:
SQLException
-
setLogWriter
public void setLogWriter(PrintWriter logWriter) throws SQLException
- Specified by:
setLogWriter
in interfaceCommonDataSource
- Throws:
SQLException
-
getLoginTimeout
public int getLoginTimeout() throws SQLException
- Specified by:
getLoginTimeout
in interfaceCommonDataSource
- Throws:
SQLException
-
setLoginTimeout
public void setLoginTimeout(int loginTimeout) throws SQLException
- Specified by:
setLoginTimeout
in interfaceCommonDataSource
- Throws:
SQLException
-
getParentLogger
public Logger getParentLogger() throws SQLFeatureNotSupportedException
- Specified by:
getParentLogger
in interfaceCommonDataSource
- Throws:
SQLFeatureNotSupportedException
-
-