1 2 9 10 package org.objectweb.rmijdbc; 11 12 import java.sql.*; 13 15 35 public interface RJConnectionInterface extends java.rmi.Remote 36 { 37 38 46 RJStatementInterface createStatement() 47 throws java.rmi.RemoteException , SQLException; 48 49 70 RJPreparedStatementInterface prepareStatement(String sql) 71 throws java.rmi.RemoteException , SQLException; 72 73 93 RJCallableStatementInterface prepareCall(String sql) 94 throws java.rmi.RemoteException , SQLException; 95 96 106 String nativeSQL(String sql) throws java.rmi.RemoteException , SQLException; 107 108 128 void setAutoCommit(boolean autoCommit) 129 throws java.rmi.RemoteException , SQLException; 130 131 136 boolean getAutoCommit() throws java.rmi.RemoteException , SQLException; 137 138 146 void commit() throws java.rmi.RemoteException , SQLException; 147 148 156 void rollback() throws java.rmi.RemoteException , SQLException; 157 158 168 void close() throws java.rmi.RemoteException , SQLException; 169 170 175 boolean isClosed() throws java.rmi.RemoteException , SQLException; 176 177 180 189 RJDatabaseMetaDataInterface getMetaData() 190 throws java.rmi.RemoteException , SQLException; 191 192 202 void setReadOnly(boolean readOnly) 203 throws java.rmi.RemoteException , SQLException; 204 205 210 boolean isReadOnly() throws java.rmi.RemoteException , SQLException; 211 212 217 void setCatalog(String catalog) throws java.rmi.RemoteException , SQLException; 218 219 224 String getCatalog() throws java.rmi.RemoteException , SQLException; 225 226 239 void setTransactionIsolation(int level) 240 throws java.rmi.RemoteException , SQLException; 241 242 247 int getTransactionIsolation() throws java.rmi.RemoteException , SQLException; 248 249 258 SQLWarning getWarnings() throws java.rmi.RemoteException , SQLException; 259 260 264 void clearWarnings() throws java.rmi.RemoteException , SQLException; 265 266 268 282 RJStatementInterface createStatement(int resultSetType, 283 int resultSetConcurrency) throws java.rmi.RemoteException , SQLException; 284 285 300 RJPreparedStatementInterface prepareStatement(String sql, 301 int resultSetType, int resultSetConcurrency) 302 throws java.rmi.RemoteException , SQLException; 303 304 319 RJCallableStatementInterface prepareCall(String sql, int resultSetType, 320 int resultSetConcurrency) throws java.rmi.RemoteException , SQLException; 321 322 332 java.util.Map getTypeMap() throws java.rmi.RemoteException , SQLException; 333 334 345 void setTypeMap(java.util.Map map) 346 throws java.rmi.RemoteException , SQLException; 347 348 354 355 357 358 373 void setHoldability(int holdability) throws java.rmi.RemoteException , SQLException; 374 375 387 int getHoldability() throws java.rmi.RemoteException , SQLException; 388 389 400 RJSavepointInterface setSavepoint() 401 throws java.rmi.RemoteException , SQLException; 402 403 415 RJSavepointInterface setSavepoint(String name) 416 throws java.rmi.RemoteException , SQLException; 417 418 433 void rollback(Savepoint savepoint) throws java.rmi.RemoteException , SQLException; 434 435 446 void releaseSavepoint(Savepoint savepoint) throws java.rmi.RemoteException , SQLException; 447 448 478 RJStatementInterface createStatement(int resultSetType, 479 int resultSetConcurrency, int resultSetHoldability) 480 throws java.rmi.RemoteException , SQLException; 481 482 517 RJPreparedStatementInterface prepareStatement(String sql, int resultSetType, 518 int resultSetConcurrency, int resultSetHoldability) 519 throws java.rmi.RemoteException , SQLException; 520 521 522 554 RJCallableStatementInterface prepareCall(String sql, int resultSetType, 555 int resultSetConcurrency, int resultSetHoldability) 556 throws java.rmi.RemoteException , SQLException; 557 558 559 597 RJPreparedStatementInterface prepareStatement(String sql, 598 int autoGeneratedKeys) throws java.rmi.RemoteException , SQLException; 599 600 639 RJPreparedStatementInterface prepareStatement(String sql, int columnIndexes[]) 640 throws java.rmi.RemoteException , SQLException; 641 642 681 RJPreparedStatementInterface prepareStatement(String sql, 682 String columnNames[]) throws java.rmi.RemoteException , SQLException; 683 684 }; 685 686 | Popular Tags |