
public.javadoc.org.spincast.plugins.jdbc.SpincastDataSourceDefault.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
SpincastDataSourceDefault (org.spincast:spincast-framework 2.1.1 API)
Package org.spincast.plugins.jdbc
Class SpincastDataSourceDefault
java.lang.Object
org.spincast.plugins.jdbc.SpincastDataSourceDefault
- All Implemented Interfaces:
Wrapper
, CommonDataSource
, DataSource
, SpincastDataSource
-
Constructor Summary
Constructors
-
Method Summary
Modifier and Type
Method
Description
getConnection(String username,
String password)
int
boolean
isWrapperFor(Class<?> iface)
void
setLoginTimeout(int seconds)
void
setLogWriter(PrintWriter out)
<T> T
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
Methods inherited from interface javax.sql.DataSource
createConnectionBuilder
-
Constructor Details
-
SpincastDataSourceDefault
-
Method Details
-
getConnection
- Specified by:
getConnection
in interface DataSource
- Throws:
SQLException
-
getConnection
- Specified by:
getConnection
in interface DataSource
- Throws:
SQLException
-
getLogWriter
- Specified by:
getLogWriter
in interface CommonDataSource
- Specified by:
getLogWriter
in interface DataSource
- Throws:
SQLException
-
unwrap
- Specified by:
unwrap
in interface Wrapper
- Throws:
SQLException
-
setLogWriter
- Specified by:
setLogWriter
in interface CommonDataSource
- Specified by:
setLogWriter
in interface DataSource
- Throws:
SQLException
-
isWrapperFor
- Specified by:
isWrapperFor
in interface Wrapper
- Throws:
SQLException
-
setLoginTimeout
- Specified by:
setLoginTimeout
in interface CommonDataSource
- Specified by:
setLoginTimeout
in interface DataSource
- Throws:
SQLException
-
getLoginTimeout
- Specified by:
getLoginTimeout
in interface CommonDataSource
- Specified by:
getLoginTimeout
in interface DataSource
- Throws:
SQLException
-
getParentLogger
- Specified by:
getParentLogger
in interface CommonDataSource
- Throws:
SQLFeatureNotSupportedException
© 2015 - 2025 Weber Informatics LLC | Privacy Policy