Class JDBCSessionDataSource

  • All Implemented Interfaces:
    java.io.Serializable, java.sql.Wrapper, javax.naming.Referenceable, javax.sql.CommonDataSource, javax.sql.DataSource

    public class JDBCSessionDataSource
    extends org.hsqldb.jdbc.JDBCDataSource
    Author:
    Dmitry Ovchinnikov.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.hsqldb.jdbc.JDBCCommonDataSource

        connectionProps, dataSourceName, description, loginTimeout, logWriter, networkProtocol, password, serverName, url, user
    • Constructor Summary

      Constructors 
      Constructor Description
      JDBCSessionDataSource​(org.hsqldb.Database database, java.lang.String schema)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.sql.Connection getConnection()  
      • Methods inherited from class org.hsqldb.jdbc.JDBCDataSource

        getConnection, getReference, isWrapperFor, unwrap
      • Methods inherited from class org.hsqldb.jdbc.JDBCCommonDataSource

        getDatabase, getDatabaseName, getDataSourceName, getDescription, getLoginTimeout, getLogWriter, getNetworkProtocol, getParentLogger, getServerName, getUrl, getURL, getUser, setDatabase, setDatabaseName, setLoginTimeout, setLogWriter, setPassword, setProperties, setUrl, setURL, setUser
      • 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, getParentLogger
      • Methods inherited from interface javax.sql.DataSource

        createConnectionBuilder, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
    • Constructor Detail

      • JDBCSessionDataSource

        public JDBCSessionDataSource​(org.hsqldb.Database database,
                                     java.lang.String schema)
    • Method Detail

      • getConnection

        public java.sql.Connection getConnection()
                                          throws java.sql.SQLException
        Specified by:
        getConnection in interface javax.sql.DataSource
        Overrides:
        getConnection in class org.hsqldb.jdbc.JDBCDataSource
        Throws:
        java.sql.SQLException