KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > rmi > interfaces > _RmiConnection


1 package com.daffodilwoods.rmi.interfaces;
2
3 import java.rmi.*;
4 import com.daffodilwoods.database.general.*;
5 import com.daffodilwoods.database.resource.*;
6
7 public interface _RmiConnection extends Remote {
8
9   void setTransactionIsolation(int level) throws DException ,RemoteException;
10   Object JavaDoc[] executeBatch(String JavaDoc query) throws DException ,RemoteException;
11   void setAutoCommit(boolean autoCommit) throws DException ,RemoteException;
12   void setCurrentCatalog(String JavaDoc catalog) throws DException ,RemoteException;
13   Object JavaDoc executeUpdate(String JavaDoc querys, int queryTimeOut) throws DException ,RemoteException;
14   void rollbackSavePoint(String JavaDoc savepoint) throws DException ,RemoteException;
15   void releaseSavePoint(String JavaDoc savepoint) throws DException ,RemoteException;
16   void setSavePoint(String JavaDoc savepoint) throws DException ,RemoteException;
17   String JavaDoc setSavePoint() throws DException ,RemoteException;
18   void rollback() throws DException ,RemoteException ;
19   void commit() throws DException ,RemoteException ;
20   void close() throws DException ,RemoteException ;
21   String JavaDoc getDatabaseURL() throws DException ,RemoteException;
22   String JavaDoc getCurrentCatalog() throws DException ,RemoteException ;
23   String JavaDoc getCurrentUser() throws DException ,RemoteException;
24   Object JavaDoc getSessionConstant() throws DException ,RemoteException ;
25   _RmiConnection getSystemConnection() throws DException ,RemoteException;
26   int getIsolationLevel() throws DException,RemoteException ;
27   Object JavaDoc[] createDeepRecordCopy(QualifiedIdentifier tableName,Object JavaDoc[] keys) throws DException,RemoteException;
28   boolean isDataModified() throws DException, RemoteException;
29
30   void commitSavePoint() throws DException,RemoteException;
31
32    _RmiPreparedStatement getPreparedStatement(String JavaDoc query,int type) throws DException ,RemoteException;
33   Object JavaDoc execute(String JavaDoc query, int queryTimeOut,int type) throws DException ,RemoteException ;
34   Object JavaDoc executeQuery(String JavaDoc query, int queryTimeOut,int type) throws DException ,RemoteException ;
35
36   boolean getAutoCommit()throws DException ,RemoteException;
37   _RmiPreparedStatement getPreparedStatement(String JavaDoc query, int type,int autoGeneratedType,Object JavaDoc autoGenetatedValues) throws DException,RemoteException;
38   Object JavaDoc execute(String JavaDoc query, int queryTimeOut, int type, int queryType,int autoGeneratedType, Object JavaDoc autoGenetatedValues) throws DException,RemoteException;
39   public boolean isClosed() throws DException,RemoteException;
40
41 }
42
Popular Tags