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 theCommonDataSourceinterface.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractCommonDataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLoginTimeout()PrintWritergetLogWriter()LoggergetParentLogger()voidsetLoginTimeout(int loginTimeout)voidsetLogWriter(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:
getLogWriterin interfaceCommonDataSource- Throws:
SQLException
-
setLogWriter
public void setLogWriter(PrintWriter logWriter) throws SQLException
- Specified by:
setLogWriterin interfaceCommonDataSource- Throws:
SQLException
-
getLoginTimeout
public int getLoginTimeout() throws SQLException- Specified by:
getLoginTimeoutin interfaceCommonDataSource- Throws:
SQLException
-
setLoginTimeout
public void setLoginTimeout(int loginTimeout) throws SQLException- Specified by:
setLoginTimeoutin interfaceCommonDataSource- Throws:
SQLException
-
getParentLogger
public Logger getParentLogger() throws SQLFeatureNotSupportedException
- Specified by:
getParentLoggerin interfaceCommonDataSource- Throws:
SQLFeatureNotSupportedException
-
-