org.eclipse.net4j.db
Interface IDBPreparedStatement

All Superinterfaces:
Comparable<IDBPreparedStatement>, PreparedStatement, Statement, Wrapper

public interface IDBPreparedStatement
extends Comparable<IDBPreparedStatement>, PreparedStatement

Since:
4.2
No Implement
This interface is not intended to be implemented by clients.
No Extend
This interface is not intended to be extended by clients.

Nested Class Summary
static class IDBPreparedStatement.ReuseProbability
          An enum for the degree of probability to which a prepared statement is reused later on.
 
Field Summary
 
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
 
Method Summary
 IDBResultSet executeQuery()
           
 ResultSet executeQuery(String sql)
          Deprecated. Not supported.
 IDBResultSet getGeneratedKeys()
           
 IDBResultSet getResultSet()
           
 IDBPreparedStatement.ReuseProbability getReuseProbability()
           
 String getSQL()
           
 IDBConnection getTransaction()
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface java.sql.PreparedStatement
addBatch, clearParameters, execute, executeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
 
Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Method Detail

getTransaction

IDBConnection getTransaction()

getSQL

String getSQL()

getReuseProbability

IDBPreparedStatement.ReuseProbability getReuseProbability()

getGeneratedKeys

IDBResultSet getGeneratedKeys()
                              throws SQLException
Specified by:
getGeneratedKeys in interface Statement
Throws:
SQLException

getResultSet

IDBResultSet getResultSet()
                          throws SQLException
Specified by:
getResultSet in interface Statement
Throws:
SQLException

executeQuery

IDBResultSet executeQuery()
                          throws SQLException
Specified by:
executeQuery in interface PreparedStatement
Throws:
SQLException

executeQuery

@Deprecated
ResultSet executeQuery(String sql)
                       throws SQLException
Deprecated. Not supported.

Specified by:
executeQuery in interface Statement
Throws:
SQLException


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.