void function ( ) { Result loc0 = new Result ( ResultConstants . HSQLRESETSESSION ) ; Result loc1 = execute ( loc0 ) ; if ( loc1 . isError ( ) ) { isClosed = true ; closeConnection ( ) ; throw Trace . error ( loc1 ) ; } sessionID = loc1 . sessionID ; databaseID = loc1 . databaseID ; }
used by pooled connections to reset the server-side session to a new one . in case of failure , the connection is closed . when the connection.close method is called , a pooled connection calls this method instead of hsqlclientconnection.close . it can then reuse the hsqlclientconnection object with no further initialisation . concode_field_sep RowInputBinary rowIn concode_elem_sep int sessionID concode_elem_sep byte[] mainBuffer concode_elem_sep boolean isTLS concode_elem_sep RowOutputBinary rowOut concode_elem_sep boolean isAutoCommit concode_elem_sep String path concode_elem_sep OutputStream dataOutput concode_elem_sep String database concode_elem_sep boolean isClosed concode_elem_sep int port concode_elem_sep String host concode_elem_sep boolean isReadOnly concode_elem_sep int BUFFER_SIZE concode_elem_sep Result resultOut concode_elem_sep Socket socket concode_elem_sep int databaseID concode_elem_sep DataInputStream dataInput concode_field_sep void rollback concode_elem_sep Result read concode_elem_sep void openConnection concode_elem_sep void prepareCommit concode_elem_sep void commit concode_elem_sep void setIsolation concode_elem_sep int getIsolation concode_elem_sep int getId concode_elem_sep void initStructures concode_elem_sep Result execute concode_elem_sep void closeConnection concode_elem_sep void setAttribute concode_elem_sep Object getAttribute concode_elem_sep boolean isReadOnly concode_elem_sep boolean isClosed concode_elem_sep boolean isAutoCommit concode_elem_sep void initConnection concode_elem_sep void setAutoCommit concode_elem_sep void startPhasedTransaction concode_elem_sep void close concode_elem_sep Session getSession concode_elem_sep void write concode_elem_sep void setReadOnly