org.sourceforge.jxdbcon.postgresql
Class PGStatement
java.lang.Object
|
+--org.sourceforge.jxdbcon.AbstractStatement
|
+--org.sourceforge.jxdbcon.postgresql.PGStatement
- All Implemented Interfaces:
- Statement
- public final class PGStatement
- extends AbstractStatement
PGStatement implements Statement
- Version:
- $Revision: 1.11 $
- Author:
- Keve Müller
Field Summary |
private PGExecResult |
res
The result from the execution. |
private String |
sql
The last SQL statement executed. |
Methods inherited from class org.sourceforge.jxdbcon.AbstractStatement |
addBatch, clearBatch, clearWarnings, execute, execute, execute, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, finalize, getConnection, getCursorName, getFetchDirection, getFetchSize, getMaxFieldSize, getMaxRows, getMoreResults, getQueryTimeout, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getWarnings, isClosed, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout |
res
private PGExecResult res
- The result from the execution.
sql
private String sql
- The last SQL statement executed.
PGStatement
public PGStatement(PGConnection conn,
int resultSetType)
cancel
public void cancel()
throws SQLException
- Specified by:
cancel
in interface Statement
- Overrides:
cancel
in class AbstractStatement
SQLException
close
public void close()
throws SQLException
- Specified by:
close
in interface Statement
- Overrides:
close
in class AbstractStatement
SQLException
execute
public boolean execute(String sql)
throws SQLException
SQLException
executeBatch
public int[] executeBatch()
throws SQLException
- Description copied from class:
AbstractStatement
- Not supported.
- Specified by:
executeBatch
in interface Statement
- Overrides:
executeBatch
in class AbstractStatement
SQLException
getGeneratedKeys
public ResultSet getGeneratedKeys()
throws SQLException
- Description copied from class:
AbstractStatement
- Not supported.
- Specified by:
getGeneratedKeys
in interface Statement
- Overrides:
getGeneratedKeys
in class AbstractStatement
SQLException
getMoreResults
public boolean getMoreResults()
throws SQLException
- Get the next result.
- Specified by:
getMoreResults
in interface Statement
- Overrides:
getMoreResults
in class AbstractStatement
SQLException
getResultSet
public ResultSet getResultSet()
throws SQLException
- Specified by:
getResultSet
in interface Statement
- Specified by:
getResultSet
in class AbstractStatement
SQLException
getUpdateCount
public int getUpdateCount()
throws SQLException
- Specified by:
getUpdateCount
in interface Statement
- Specified by:
getUpdateCount
in class AbstractStatement
SQLException
Copyright © 2001,2002 Keve Müller; see LICENSE file for details.