JML

java.sql
Interface Statement

All Known Subinterfaces:
CallableStatement, PreparedStatement

public interface Statement


Field Summary
static int CLOSE_ALL_RESULTS
           
static int CLOSE_CURRENT_RESULT
           
static int EXECUTE_FAILED
           
static int KEEP_CURRENT_RESULT
           
static int NO_GENERATED_KEYS
           
static int RETURN_GENERATED_KEYS
           
static int SUCCESS_NO_INFO
           
 
Method Summary
 void addBatch(String)
           
 void cancel()
           
 void clearBatch()
           
 void clearWarnings()
           
 void close()
           
 boolean execute(String)
           
 boolean execute(String, int)
           
 boolean execute(String, int[])
           
 boolean execute(String, String[])
           
 int[] executeBatch()
           
 ResultSet executeQuery(String)
           
 int executeUpdate(String)
           
 int executeUpdate(String, int)
           
 int executeUpdate(String, int[])
           
 int executeUpdate(String, String[])
           
 Connection getConnection()
           
 int getFetchDirection()
           
 int getFetchSize()
           
 ResultSet getGeneratedKeys()
           
 int getMaxFieldSize()
           
 int getMaxRows()
           
 boolean getMoreResults()
           
 boolean getMoreResults(int)
           
 int getQueryTimeout()
           
 ResultSet getResultSet()
           
 int getResultSetConcurrency()
           
 int getResultSetHoldability()
           
 int getResultSetType()
           
 int getUpdateCount()
           
 SQLWarning getWarnings()
           
 void setCursorName(String)
           
 void setEscapeProcessing(boolean)
           
 void setFetchDirection(int)
           
 void setFetchSize(int)
           
 void setMaxFieldSize(int)
           
 void setMaxRows(int)
           
 void setQueryTimeout(int)
           
 

Field Detail

EXECUTE_FAILED

public static final int EXECUTE_FAILED

CLOSE_CURRENT_RESULT

public static final int CLOSE_CURRENT_RESULT

RETURN_GENERATED_KEYS

public static final int RETURN_GENERATED_KEYS

CLOSE_ALL_RESULTS

public static final int CLOSE_ALL_RESULTS

KEEP_CURRENT_RESULT

public static final int KEEP_CURRENT_RESULT

NO_GENERATED_KEYS

public static final int NO_GENERATED_KEYS

SUCCESS_NO_INFO

public static final int SUCCESS_NO_INFO
Method Detail

getFetchDirection

public int getFetchDirection()
                               throws SQLException
Throws:
SQLException

getFetchSize

public int getFetchSize()
                          throws SQLException
Throws:
SQLException

getMaxFieldSize

public int getMaxFieldSize()
                             throws SQLException
Throws:
SQLException

getMaxRows

public int getMaxRows()
                        throws SQLException
Throws:
SQLException

getQueryTimeout

public int getQueryTimeout()
                             throws SQLException
Throws:
SQLException

getResultSetConcurrency

public int getResultSetConcurrency()
                                     throws SQLException
Throws:
SQLException

getResultSetHoldability

public int getResultSetHoldability()
                                     throws SQLException
Throws:
SQLException

getResultSetType

public int getResultSetType()
                              throws SQLException
Throws:
SQLException

getUpdateCount

public int getUpdateCount()
                            throws SQLException
Throws:
SQLException

cancel

public void cancel()
                     throws SQLException
Throws:
SQLException

clearBatch

public void clearBatch()
                         throws SQLException
Throws:
SQLException

clearWarnings

public void clearWarnings()
                            throws SQLException
Throws:
SQLException

close

public void close()
                    throws SQLException
Throws:
SQLException

getMoreResults

public boolean getMoreResults()
                                throws SQLException
Throws:
SQLException

executeBatch

public int[] executeBatch()
                            throws SQLException
Throws:
SQLException

setFetchDirection

public void setFetchDirection(int)
                                throws SQLException
Throws:
SQLException

setFetchSize

public void setFetchSize(int)
                           throws SQLException
Throws:
SQLException

setMaxFieldSize

public void setMaxFieldSize(int)
                              throws SQLException
Throws:
SQLException

setMaxRows

public void setMaxRows(int)
                         throws SQLException
Throws:
SQLException

setQueryTimeout

public void setQueryTimeout(int)
                              throws SQLException
Throws:
SQLException

getMoreResults

public boolean getMoreResults(int)
                                throws SQLException
Throws:
SQLException

setEscapeProcessing

public void setEscapeProcessing(boolean)
                                  throws SQLException
Throws:
SQLException

executeUpdate

public int executeUpdate(String)
                           throws SQLException
Throws:
SQLException

addBatch

public void addBatch(String)
                       throws SQLException
Throws:
SQLException

setCursorName

public void setCursorName(String)
                            throws SQLException
Throws:
SQLException

execute

public boolean execute(String)
                         throws SQLException
Throws:
SQLException

executeUpdate

public int executeUpdate(String,
                         int)
                           throws SQLException
Throws:
SQLException

execute

public boolean execute(String,
                       int)
                         throws SQLException
Throws:
SQLException

executeUpdate

public int executeUpdate(String,
                         int[])
                           throws SQLException
Throws:
SQLException

execute

public boolean execute(String,
                       int[])
                         throws SQLException
Throws:
SQLException

getConnection

public Connection getConnection()
                                  throws SQLException
Throws:
SQLException

getGeneratedKeys

public ResultSet getGeneratedKeys()
                                    throws SQLException
Throws:
SQLException

getResultSet

public ResultSet getResultSet()
                                throws SQLException
Throws:
SQLException

getWarnings

public SQLWarning getWarnings()
                                throws SQLException
Throws:
SQLException

executeUpdate

public int executeUpdate(String,
                         String[])
                           throws SQLException
Throws:
SQLException

execute

public boolean execute(String,
                       String[])
                         throws SQLException
Throws:
SQLException

executeQuery

public ResultSet executeQuery(String)
                                throws SQLException
Throws:
SQLException

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.