1 package com.daffodilwoods.daffodildb.client; 2 3 import com.daffodilwoods.daffodildb.server.datadictionarysystem.information._DatabaseInformation; 4 import com.daffodilwoods.database.resource.*; 5 import java.sql.SQLException ; 6 import com.daffodilwoods.daffodildb.server.datadictionarysystem.*; 7 import com.daffodilwoods.database.general.QualifiedIdentifier; 8 import com.daffodilwoods.daffodildb.server.serversystem._Connection; 9 10 public interface _ClientUserSession { 11 void commit()throws DException; 12 void setAutoCommit(boolean autoCommit)throws DException; 13 void rollBack()throws DException; 14 void close()throws DException; 15 Object execute(String query,Object [] parameters) throws SQLException ,DException; 16 Object [] executeBatch(String query) throws SQLException ,DException; 17 Object executeQuery(String query,String filterClause,String orderClause,Object [] parameters) throws SQLException ; 18 _DatabaseInformation getDatabaseInformation()throws DException; 19 _ClientStatement getStatement(String query) throws SQLException ; 20 _ClientStatement getStatement(String query,String filterClause,String orderClause) throws SQLException ; 21 boolean isDataModified() throws DException; 22 _ClientUserSession getChildSession() throws DException ; 23 void setIsolationLevel(int level) throws DException; 24 Object [] createDeepRecordCopy(QualifiedIdentifier tableName,Object [] keys) throws DException; 25 void startSavePoint() throws DException; 26 void commitSavePoint() throws DException; 27 void rollbackSavePoint() throws DException; 28 void releaseSavePoint() throws DException; 29 void setListenerMode(boolean browserType)throws DException; 30 public _Connection getConnection(); 31 public boolean isClosed() throws DException ; 32 } 33 | Popular Tags |