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 [] executeBatch(String query) throws DException ,RemoteException; 11 void setAutoCommit(boolean autoCommit) throws DException ,RemoteException; 12 void setCurrentCatalog(String catalog) throws DException ,RemoteException; 13 Object executeUpdate(String querys, int queryTimeOut) throws DException ,RemoteException; 14 void rollbackSavePoint(String savepoint) throws DException ,RemoteException; 15 void releaseSavePoint(String savepoint) throws DException ,RemoteException; 16 void setSavePoint(String savepoint) throws DException ,RemoteException; 17 String setSavePoint() throws DException ,RemoteException; 18 void rollback() throws DException ,RemoteException ; 19 void commit() throws DException ,RemoteException ; 20 void close() throws DException ,RemoteException ; 21 String getDatabaseURL() throws DException ,RemoteException; 22 String getCurrentCatalog() throws DException ,RemoteException ; 23 String getCurrentUser() throws DException ,RemoteException; 24 Object getSessionConstant() throws DException ,RemoteException ; 25 _RmiConnection getSystemConnection() throws DException ,RemoteException; 26 int getIsolationLevel() throws DException,RemoteException ; 27 Object [] createDeepRecordCopy(QualifiedIdentifier tableName,Object [] keys) throws DException,RemoteException; 28 boolean isDataModified() throws DException, RemoteException; 29 30 void commitSavePoint() throws DException,RemoteException; 31 32 _RmiPreparedStatement getPreparedStatement(String query,int type) throws DException ,RemoteException; 33 Object execute(String query, int queryTimeOut,int type) throws DException ,RemoteException ; 34 Object executeQuery(String query, int queryTimeOut,int type) throws DException ,RemoteException ; 35 36 boolean getAutoCommit()throws DException ,RemoteException; 37 _RmiPreparedStatement getPreparedStatement(String query, int type,int autoGeneratedType,Object autoGenetatedValues) throws DException,RemoteException; 38 Object execute(String query, int queryTimeOut, int type, int queryType,int autoGeneratedType, Object autoGenetatedValues) throws DException,RemoteException; 39 public boolean isClosed() throws DException,RemoteException; 40 41 } 42 | Popular Tags |