|  | 
| interface | com::sun::star::lang::XComponent | 
|  | optional for implementation, controls the releasing of resources and the notification of registered listeners. 
 | 
|  | 
| interface | XCloseable | 
|  | freeing all resources of a statement. 
 | 
|  | 
| interface | com::sun::star::beans::XPropertySet | 
|  | 
| interface | com::sun::star::util::XCancellable | 
|  | could be used for canceling the execution of SQL statements if both the DBMS and the driver support aborting an SQL statement. 
 | 
|  | 
| interface | XStatement | 
|  | is the interface for executing SQL commands. 
 | 
|  | 
| interface | XBatchExecution | 
|  | provides the ability of batch execution. 
 | 
|  | 
| interface | XWarningsSupplier | 
|  | controls the chaining of warnings, which may occur on every call to the connected database. 
 | 
|  | 
| interface | XMultipleResults | 
|  | covers the handling of multiple results after executing an SQL command. 
 | 
|  | 
| void | close ()  raises (SQLException) | 
|  | releases all resources connected to an object. 
 | 
|  | 
| any | queryInterface ([in] type aType) | 
|  | queries for a new interface to an existing UNO object. 
 | 
|  | 
| void | acquire () | 
|  | increases the reference counter by one. 
 | 
|  | 
| void | release () | 
|  | decreases the reference counter by one. 
 | 
|  | 
| com::sun::star::beans::XPropertySetInfo | getPropertySetInfo () | 
|  | 
| void | setPropertyValue ([in] string aPropertyName, [in] any aValue)  raises ( com::sun::star::beans::UnknownPropertyException,                    com::sun::star::beans::PropertyVetoException,                    com::sun::star::lang::IllegalArgumentException,                    com::sun::star::lang::WrappedTargetException ) | 
|  | sets the value of the property with the specified name. 
 | 
|  | 
| any | getPropertyValue ([in] string PropertyName)  raises ( com::sun::star::beans::UnknownPropertyException,                    com::sun::star::lang::WrappedTargetException ) | 
|  | 
| void | addPropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener xListener)  raises ( com::sun::star::beans::UnknownPropertyException,                    com::sun::star::lang::WrappedTargetException ) | 
|  | adds an XPropertyChangeListener to the specified property. 
 | 
|  | 
| void | removePropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener aListener)  raises ( com::sun::star::beans::UnknownPropertyException,                    com::sun::star::lang::WrappedTargetException ) | 
|  | removes an XPropertyChangeListener from the listener list. 
 | 
|  | 
| void | addVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener)  raises ( com::sun::star::beans::UnknownPropertyException,                    com::sun::star::lang::WrappedTargetException ) | 
|  | adds an XVetoableChangeListener to the specified property with the name PropertyName. 
 | 
|  | 
| void | removeVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener)  raises ( com::sun::star::beans::UnknownPropertyException,                    com::sun::star::lang::WrappedTargetException ) | 
|  | removes an XVetoableChangeListener from the listener list. 
 | 
|  | 
| XResultSet | executeQuery ([in]string sql)  raises (SQLException) | 
|  | executes a SQL statement that returns a single ResultSet. 
 | 
|  | 
| long | executeUpdate ([in]string sql)  raises (SQLException) | 
|  | executes an SQL INSERT, UPDATE, or DELETE statement. 
 | 
|  | 
| boolean | execute ([in]string sql)  raises (SQLException) | 
|  | executes a SQL statement that may return multiple results. 
 | 
|  | 
| XConnection | getConnection ()  raises (SQLException) | 
|  | returns the com::sun::star::sdbc::Connection object that produced this Statementobject.
 | 
|  | 
| any | getWarnings ()  raises (SQLException) | 
|  | returns the first warning reported by calls on an object that supports the usage of warnings. 
 | 
|  | 
| void | clearWarnings ()  raises (SQLException) | 
|  | clears all warnings reported for the object implementing the interface. 
 | 
|  | 
| void | dispose () | 
|  | The owner of an object calls this method to explicitly free all resources kept by this object and thus break cyclic references. 
 | 
|  | 
| void | addEventListener ([in] XEventListener xListener) | 
|  | adds an event listener to the object. 
 | 
|  | 
| void | removeEventListener ([in] XEventListener aListener) | 
|  | removes an event listener from the listener list. 
 | 
|  | 
| any | queryInterface ([in] type aType) | 
|  | queries for a new interface to an existing UNO object. 
 | 
|  | 
| void | acquire () | 
|  | increases the reference counter by one. 
 | 
|  | 
| void | release () | 
|  | decreases the reference counter by one. 
 | 
|  | 
| void | close ()  raises (SQLException) | 
|  | releases all resources connected to an object. 
 | 
|  | 
| com::sun::star::beans::XPropertySetInfo | getPropertySetInfo () | 
|  | 
| void | setPropertyValue ([in] string aPropertyName, [in] any aValue)  raises ( com::sun::star::beans::UnknownPropertyException,                    com::sun::star::beans::PropertyVetoException,                    com::sun::star::lang::IllegalArgumentException,                    com::sun::star::lang::WrappedTargetException ) | 
|  | sets the value of the property with the specified name. 
 | 
|  | 
| any | getPropertyValue ([in] string PropertyName)  raises ( com::sun::star::beans::UnknownPropertyException,                    com::sun::star::lang::WrappedTargetException ) | 
|  | 
| void | addPropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener xListener)  raises ( com::sun::star::beans::UnknownPropertyException,                    com::sun::star::lang::WrappedTargetException ) | 
|  | adds an XPropertyChangeListener to the specified property. 
 | 
|  | 
| void | removePropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener aListener)  raises ( com::sun::star::beans::UnknownPropertyException,                    com::sun::star::lang::WrappedTargetException ) | 
|  | removes an XPropertyChangeListener from the listener list. 
 | 
|  | 
| void | addVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener)  raises ( com::sun::star::beans::UnknownPropertyException,                    com::sun::star::lang::WrappedTargetException ) | 
|  | adds an XVetoableChangeListener to the specified property with the name PropertyName. 
 | 
|  | 
| void | removeVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener)  raises ( com::sun::star::beans::UnknownPropertyException,                    com::sun::star::lang::WrappedTargetException ) | 
|  | removes an XVetoableChangeListener from the listener list. 
 | 
|  | 
| void | cancel () | 
|  | cancels the current job of the object. 
 | 
|  | 
| XResultSet | executeQuery ([in]string sql)  raises (SQLException) | 
|  | executes a SQL statement that returns a single ResultSet. 
 | 
|  | 
| long | executeUpdate ([in]string sql)  raises (SQLException) | 
|  | executes an SQL INSERT, UPDATE, or DELETE statement. 
 | 
|  | 
| boolean | execute ([in]string sql)  raises (SQLException) | 
|  | executes a SQL statement that may return multiple results. 
 | 
|  | 
| XConnection | getConnection ()  raises (SQLException) | 
|  | returns the com::sun::star::sdbc::Connection object that produced this Statementobject.
 | 
|  | 
| void | addBatch ([in]string sql)  raises (SQLException) | 
|  | adds a SQL command to the current batch of commands for the statement object. 
 | 
|  | 
| void | clearBatch ()  raises (SQLException) | 
|  | makes the set of commands in the current batch empty. 
 | 
|  | 
| sequence< long > | executeBatch ()  raises (SQLException) | 
|  | submits a batch of commands to the database for execution. 
 | 
|  | 
| any | getWarnings ()  raises (SQLException) | 
|  | returns the first warning reported by calls on an object that supports the usage of warnings. 
 | 
|  | 
| void | clearWarnings ()  raises (SQLException) | 
|  | clears all warnings reported for the object implementing the interface. 
 | 
|  | 
| XResultSet | getResultSet ()  raises (SQLException) | 
|  | returns the current result as a com::sun::star::sdbc::ResultSet object. 
 | 
|  | 
| long | getUpdateCount ()  raises (SQLException) | 
|  | returns the current result as an update count. 
 | 
|  | 
| boolean | getMoreResults ()  raises (SQLException) | 
|  | moves to a Statement's next result. 
 | 
|  | 
extends the definition of the service com::sun::star::sdbc::Statement with a flag for the usage of bookmarks. 
- See also
- ResultSet 
- 
XRowLocate