LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.peer.sql.hsqldb
Class LyHsqldbConnection

java.lang.Object
  extended by leon.peer.LyConnection
      extended by leon.peer.sql.LySqlConnection
          extended by leon.peer.sql.hsqldb.LyHsqldbConnection

public class LyHsqldbConnection
extends LySqlConnection

This class is used as a connection for Hsql relational database.

See Also:
LySqlConnection

Field Summary
 
Fields inherited from class leon.peer.sql.LySqlConnection
__VERSION, STATEMENT_TIMEOUT
 
Constructor Summary
LyHsqldbConnection(LyApplication application, java.lang.String name)
          Constructor.
LyHsqldbConnection(LyApplication application, java.lang.String name, javax.sql.DataSource dataSource)
          Constructor.
 
Method Summary
 boolean close()
          Close the physical connection to the database.
 
Methods inherited from class leon.peer.sql.LySqlConnection
autoCommit, commit, getConnection, getMetaData, getProperties, getStatement, handleError, open, open, released, rollback, sendQueryRequest, sendQueryRequest, sendUpdateRequest, setStatementTimeout
 
Methods inherited from class leon.peer.LyConnection
addValue, dump, getError, getUID, getValue, isClosed, isReserved, prepareCommit, reserved, setDataProvider, setError, setUID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LyHsqldbConnection

public LyHsqldbConnection(LyApplication application,
                          java.lang.String name)
Constructor.

Parameters:
application - Application of the data provider that manages this connection.
name - Name of the database.

LyHsqldbConnection

public LyHsqldbConnection(LyApplication application,
                          java.lang.String name,
                          javax.sql.DataSource dataSource)
Constructor.

Parameters:
application - Application of the data provider that manages this connection.
name - Name of the database.
dataSource - JDBC DataSource providing the JDBC connection.
Method Detail

close

public boolean close()
Description copied from class: LySqlConnection
Close the physical connection to the database.

Overrides:
close in class LySqlConnection
Returns:
true : connection is closed, false : an error occured.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com