simpledb.remote
Class SimpleStatement
java.lang.Object
  
simpledb.remote.StatementAdapter
      
simpledb.remote.SimpleStatement
- All Implemented Interfaces: 
 - Statement, Wrapper
 
public class SimpleStatement
- extends StatementAdapter
 
An adapter class that wraps RemoteStatement.
 Its methods do nothing except transform RemoteExceptions
 into SQLExceptions.
- Author:
 
  - Edward Sciore
 
 
 
 
 
| Methods inherited from class simpledb.remote.StatementAdapter | 
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isPoolable, isWrapperFor, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, unwrap | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SimpleStatement
public SimpleStatement(RemoteStatement s)
executeQuery
public ResultSet executeQuery(String qry)
                       throws SQLException
- Specified by:
 executeQuery in interface Statement- Overrides:
 executeQuery in class StatementAdapter
 
- Throws:
 SQLException
 
executeUpdate
public int executeUpdate(String cmd)
                  throws SQLException
- Specified by:
 executeUpdate in interface Statement- Overrides:
 executeUpdate in class StatementAdapter
 
- Throws:
 SQLException
 
Copyright © 2011. All Rights Reserved.