1 2 9 10 package org.objectweb.rmijdbc; 11 12 import java.sql.*; 13 import java.rmi.*; 14 15 28 public interface RJStatementInterface extends java.rmi.Remote { 29 30 37 RJResultSetInterface executeQuery(String sql) throws java.rmi.RemoteException , SQLException; 38 39 49 int executeUpdate(String sql) throws java.rmi.RemoteException , SQLException; 50 51 61 void close() throws java.rmi.RemoteException , SQLException; 62 63 65 74 int getMaxFieldSize() throws java.rmi.RemoteException , SQLException; 75 76 86 void setMaxFieldSize(int max) throws java.rmi.RemoteException , SQLException; 87 88 95 int getMaxRows() throws java.rmi.RemoteException , SQLException; 96 97 104 void setMaxRows(int max) throws java.rmi.RemoteException , SQLException; 105 106 112 void setEscapeProcessing(boolean enable) throws java.rmi.RemoteException , SQLException; 113 114 121 int getQueryTimeout() throws java.rmi.RemoteException , SQLException; 122 123 130 void setQueryTimeout(int seconds) throws java.rmi.RemoteException , SQLException; 131 132 136 void cancel() throws java.rmi.RemoteException , SQLException; 137 138 153 SQLWarning getWarnings() throws java.rmi.RemoteException , SQLException; 154 155 159 void clearWarnings() throws java.rmi.RemoteException , SQLException; 160 161 176 void setCursorName(String name) throws java.rmi.RemoteException , SQLException; 177 178 180 201 boolean execute(String sql) throws java.rmi.RemoteException , SQLException; 202 203 211 RJResultSetInterface getResultSet() throws java.rmi.RemoteException , SQLException; 212 213 222 int getUpdateCount() throws java.rmi.RemoteException , SQLException; 223 224 236 boolean getMoreResults() throws java.rmi.RemoteException , SQLException; 237 238 239 void setFetchSize(int rows) throws RemoteException, SQLException; 241 242 void setFetchDirection(int dir) throws RemoteException, SQLException; 243 244 int getResultSetType() throws RemoteException, SQLException; 245 246 int getResultSetConcurrency() throws RemoteException, SQLException; 247 248 int getFetchSize() throws RemoteException, SQLException; 249 250 int getFetchDirection() throws RemoteException, SQLException; 251 252 RJConnectionInterface getConnection() throws RemoteException, SQLException; 253 254 int[] executeBatch() throws RemoteException, SQLException; 255 256 void clearBatch() throws RemoteException, SQLException; 257 258 void addBatch(String sql) throws RemoteException, SQLException; 259 260 boolean getMoreResults(int current) throws RemoteException, SQLException; 262 RJResultSetInterface getGeneratedKeys() throws RemoteException, SQLException; 263 int executeUpdate(String sql, int autoGeneratedKeys) 264 throws RemoteException, SQLException; 265 int executeUpdate(String sql, int columnIndexes[]) 266 throws RemoteException, SQLException; 267 int executeUpdate(String sql, String columnNames[]) 268 throws RemoteException, SQLException; 269 boolean execute(String sql, int autoGeneratedKeys) 270 throws RemoteException, SQLException; 271 boolean execute(String sql, int columnIndexes[]) 272 throws RemoteException, SQLException; 273 boolean execute(String sql, String columnNames[]) 274 throws RemoteException, SQLException; 275 int getResultSetHoldability() throws RemoteException, SQLException; 276 }; 277 278 | Popular Tags |