KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > client > _ClientUserSession


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 JavaDoc;
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 JavaDoc execute(String JavaDoc query,Object JavaDoc[] parameters) throws SQLException JavaDoc,DException;
16   Object JavaDoc[] executeBatch(String JavaDoc query) throws SQLException JavaDoc,DException;
17   Object JavaDoc executeQuery(String JavaDoc query,String JavaDoc filterClause,String JavaDoc orderClause,Object JavaDoc[] parameters) throws SQLException JavaDoc;
18   _DatabaseInformation getDatabaseInformation()throws DException;
19   _ClientStatement getStatement(String JavaDoc query) throws SQLException JavaDoc;
20   _ClientStatement getStatement(String JavaDoc query,String JavaDoc filterClause,String JavaDoc orderClause) throws SQLException JavaDoc;
21   boolean isDataModified() throws DException;
22   _ClientUserSession getChildSession() throws DException ;
23   void setIsolationLevel(int level) throws DException;
24   Object JavaDoc[] createDeepRecordCopy(QualifiedIdentifier tableName,Object JavaDoc[] 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