org.hsqldb
Interface SessionInterface

All Known Implementing Classes:
HSQLClientConnection, Session

public interface SessionInterface

Interface to Session and its remote proxy objects. Used by the implementations of JDBC interfaces to communicate with the database at the session level.

Since:
1.7.2
Version:
1.7.2
Author:
fredt@users

Method Summary
 void close()
           
 void commit()
           
 Result execute(Result r)
           
 int getId()
           
 boolean isAutoCommit()
           
 boolean isClosed()
           
 boolean isReadOnly()
           
 void rollback()
           
 void setAutoCommit(boolean autoCommit)
           
 void setReadOnly(boolean readonly)
           
 

Method Detail

execute

public Result execute(Result r)
               throws HsqlException
Throws:
HsqlException

close

public void close()

isClosed

public boolean isClosed()

isReadOnly

public boolean isReadOnly()
                   throws HsqlException
Throws:
HsqlException

setReadOnly

public void setReadOnly(boolean readonly)
                 throws HsqlException
Throws:
HsqlException

isAutoCommit

public boolean isAutoCommit()
                     throws HsqlException
Throws:
HsqlException

setAutoCommit

public void setAutoCommit(boolean autoCommit)
                   throws HsqlException
Throws:
HsqlException

commit

public void commit()
            throws HsqlException
Throws:
HsqlException

rollback

public void rollback()
              throws HsqlException
Throws:
HsqlException

getId

public int getId()


Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.