Package herddb.jdbc
Class HerdDBDataSource
- java.lang.Object
-
- herddb.jdbc.BasicHerdDBDataSource
-
- herddb.jdbc.HerdDBDataSource
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.sql.Wrapper,javax.sql.CommonDataSource,javax.sql.DataSource
public class HerdDBDataSource extends BasicHerdDBDataSource
Generic DataSource for connecting to a remote HerdDB cluster- Author:
- enrico.olivelli
-
-
Field Summary
-
Fields inherited from class herddb.jdbc.BasicHerdDBDataSource
client, defaultSchema, loginTimeout, maxActive, properties, url
-
-
Constructor Summary
Constructors Constructor Description HerdDBDataSource()
-
Method Summary
Modifier and Type Method Description protected voidensureClient()-
Methods inherited from class herddb.jdbc.BasicHerdDBDataSource
close, doWaitForTableSpace, ensureConnection, getClient, getConnection, getConnection, getDefaultSchema, getLoginTimeout, getLogWriter, getMaxActive, getParentLogger, getPassword, getProperties, getUrl, getUsername, getWaitForTableSpace, getWaitForTableSpaceTimeout, isDiscoverTableSpaceFromQuery, isWrapperFor, setClient, setDefaultSchema, setDiscoverTableSpaceFromQuery, setLoginTimeout, setLogWriter, setMaxActive, setPassword, setUrl, setUsername, setWaitForTableSpace, setWaitForTableSpaceTimeout, unwrap
-
-
-
-
Method Detail
-
ensureClient
protected void ensureClient() throws java.sql.SQLException- Overrides:
ensureClientin classBasicHerdDBDataSource- Throws:
java.sql.SQLException
-
-