| |
|
| java.lang.Object org.webdocwf.util.xml.XmlStatement
XmlStatement | public class XmlStatement implements Statement(Code) | | Class implements the JDBC Statement interface for the XmlJdbc driver.
author: Zoran Milakovic |
XmlStatement | protected XmlStatement(XmlConnection connection)(Code) | | Constructor for the XmlStatement object
Parameters: connection - Description of Parameter |
addBatch | public void addBatch(String p0) throws SQLException(Code) | | Adds a feature to the Batch attribute of the XmlStatement object
Parameters: p0 - The feature to be added to the Batch attribute exception: SQLException - Description of Exception |
close | public void close() throws SQLException(Code) | | Releases this Statement object's database
and JDBC resources immediately instead of waiting for
this to happen when it is automatically closed.
It is generally good practice to release resources as soon as
you are finished with them to avoid tying up database
resources.
Calling the method close on a Statement
object that is already closed has no effect.
Note: A Statement object is automatically closed
when it is garbage collected. When a Statement object is
closed, its current ResultSet object, if one exists, is
also closed.
exception: SQLException - if a database access error occurs |
execute | public boolean execute(String sql) throws SQLException(Code) | | Description of the Method
Parameters: sql - Description of Parameter Description of the Returned Value exception: SQLException - Description of Exception |
executeBatch | public int[] executeBatch() throws SQLException(Code) | | Description of the Method
Description of the Returned Value exception: SQLException - Description of Exception |
executeUpdate | public int executeUpdate(String sql) throws SQLException(Code) | | Insert data into XML database
Parameters: sql - Description of Parameter Description of the Returned Value exception: SQLException - Description of Exception |
getConnection | public Connection getConnection() throws SQLException(Code) | | Gets the connection attribute of the XmlStatement object
The connection value exception: SQLException - Description of Exception |
getFetchDirection | public int getFetchDirection() throws SQLException(Code) | | Gets the fetchDirection attribute of the XmlStatement object
The fetchDirection value exception: SQLException - Description of Exception |
getFetchSize | public int getFetchSize() throws SQLException(Code) | | Gets the fetchSize attribute of the XmlStatement object
The fetchSize value exception: SQLException - Description of Exception |
getMaxFieldSize | public int getMaxFieldSize() throws SQLException(Code) | | Gets the maxFieldSize attribute of the XmlStatement object
The maxFieldSize value exception: SQLException - Description of Exception |
getMaxRows | public int getMaxRows() throws SQLException(Code) | | Gets the maxRows attribute of the XmlStatement object
The maxRows value exception: SQLException - Description of Exception |
getMoreResults | public boolean getMoreResults() throws SQLException(Code) | | Gets the moreResults attribute of the XmlStatement object
The moreResults value exception: SQLException - Description of Exception |
getQueryTimeout | public int getQueryTimeout() throws SQLException(Code) | | Gets the queryTimeout attribute of the XmlStatement object
The queryTimeout value exception: SQLException - Description of Exception |
getResultSet | public ResultSet getResultSet() throws SQLException(Code) | | Gets the resultSet attribute of the XmlStatement object
The resultSet value exception: SQLException - Description of Exception |
getResultSetConcurrency | public int getResultSetConcurrency() throws SQLException(Code) | | Gets the resultSetConcurrency attribute of the XmlStatement object
The resultSetConcurrency value exception: SQLException - Description of Exception |
getResultSetType | public int getResultSetType() throws SQLException(Code) | | Gets the resultSetType attribute of the XmlStatement object
The resultSetType value exception: SQLException - Description of Exception |
getUpdateCount | public int getUpdateCount() throws SQLException(Code) | | Gets the updateCount attribute of the XmlStatement object
The updateCount value exception: SQLException - Description of Exception |
setCursorName | public void setCursorName(String p0) throws SQLException(Code) | | Sets the cursorName attribute of the XmlStatement object
Parameters: p0 - The new cursorName value exception: SQLException - Description of Exception |
setEscapeProcessing | public void setEscapeProcessing(boolean p0) throws SQLException(Code) | | Sets the escapeProcessing attribute of the XmlStatement object
Parameters: p0 - The new escapeProcessing value exception: SQLException - Description of Exception |
setFetchDirection | public void setFetchDirection(int p0) throws SQLException(Code) | | Sets the fetchDirection attribute of the XmlStatement object
Parameters: p0 - The new fetchDirection value exception: SQLException - Description of Exception |
setFetchSize | public void setFetchSize(int p0) throws SQLException(Code) | | Sets the fetchSize attribute of the XmlStatement object
Parameters: p0 - The new fetchSize value exception: SQLException - Description of Exception |
setMaxFieldSize | public void setMaxFieldSize(int p0) throws SQLException(Code) | | Sets the maxFieldSize attribute of the SmlStatement object
Parameters: p0 - The new maxFieldSize value exception: SQLException - Description of Exception |
setMaxRows | public void setMaxRows(int p0) throws SQLException(Code) | | Sets the maxRows attribute of the XmlStatement object
Parameters: p0 - The new maxRows value exception: SQLException - Description of Exception |
setQueryTimeout | public void setQueryTimeout(int p0) throws SQLException(Code) | | Sets the queryTimeout attribute of the XmlStatement object
Parameters: p0 - The new queryTimeout value exception: SQLException - Description of Exception |
|
|
|