Class HsqlDataSource
- java.lang.Object
-
- org.springframework.jdbc.datasource.DelegatingDataSource
-
- jetbrains.buildServer.serverSide.db.HSQL.HsqlDataSource
-
- All Implemented Interfaces:
Wrapper,CommonDataSource,DataSource,org.springframework.beans.factory.InitializingBean
public class HsqlDataSource extends org.springframework.jdbc.datasource.DelegatingDataSourceProduces connections wrapped by our classes (depend on the RDBMS type).
-
-
Constructor Summary
Constructors Constructor Description HsqlDataSource(DataSource targetDataSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectiongetConnection()ConnectiongetConnection(String username, String password)
-
-
-
Constructor Detail
-
HsqlDataSource
public HsqlDataSource(DataSource targetDataSource)
-
-
Method Detail
-
getConnection
public Connection getConnection(String username, String password) throws SQLException
- Specified by:
getConnectionin interfaceDataSource- Overrides:
getConnectionin classorg.springframework.jdbc.datasource.DelegatingDataSource- Throws:
SQLException
-
getConnection
public Connection getConnection() throws SQLException
- Specified by:
getConnectionin interfaceDataSource- Overrides:
getConnectionin classorg.springframework.jdbc.datasource.DelegatingDataSource- Throws:
SQLException
-
-