module com { module sun { module star { module sdbc {
published interface XWarningsSupplier;
published interface XStatement;
published interface XBatchExecution;
published interface XMultipleResults;
published interface XCloseable;
/** is used for executing a static SQL statement and obtaining the results producedbyit.
<p> OnlyoneResultSetperStatementcanbeopenatanypointin time.Therefore,ifthereadingofoneResultSetisinterleaved withthereadingofanother,eachmusthavebeengeneratedby differentStatements.Allstatement<code>execute</code>methodsimplicitly closeastatement'scurrentResultSetifanopenoneexists. </p>
*/
published service Statement
{
/** optional for implementation, controls the releasing of resources andthenotificationofregisteredlisteners.
*/
[optional] interface com::sun::star::lang::XComponent;
/** freeing all resources of a statement. A related result set will be freedaswell.
*/
interface XCloseable;
// gives access to the properties.
interface com::sun::star::beans::XPropertySet;
/** could be used for canceling the execution of SQL statements if both theDBMSandthedriversupportabortinganSQLstatement. Theimplementationisoptional.
*/
[optional] interface com::sun::star::util::XCancellable;
/** is the interface for executing SQL commands.
*/
interface XStatement;
/** provides the ability of batch execution. This interface is optional forexecution. <p> Adriverimplementingbatchexecutionmustreturn `TRUE` for com::sun::star::sdbc::XDatabaseMetaData::supportsBatchUpdates() </p>
*/
[optional] interface XBatchExecution;
/** controls the chaining of warnings, which may occur on every call totheconnecteddatabase.Chainedwarningsfrompreviouscallswillbe clearedbeforeprocessinganewcall.
*/
interface XWarningsSupplier;
/** covers the handling of multiple results after executing an SQL command. Theimplementationisoptional.
*/
[optional] interface XMultipleResults;
/** retrieves the number of seconds the driver will wait for a Statement toexecute.Ifthelimitisexceeded,aSQLExceptionisthrown. Thereisnolimitation,ifsettozero.
*/
[property] long QueryTimeOut;
/** returns the maximum number of bytes allowed for any column value.
/** retrieves the maximum number of rows that a ResultSet can contain. Ifthelimitisexceeded,theexcessrowsaresilentlydropped. <br/> Thereisnolimitation,ifsettozero.
*/
[property] long MaxRows;
/** defines the SQL cursor name that will be used by subsequent Statement <code>execute</code> methods.
@seecom::sun::star::sdbc::ResultSetConcurrency
*/
[property] long ResultSetConcurrency;
/** determine the result set type.
@seecom::sun::star::sdbc::ResultSetType
*/
[property] long ResultSetType;
/** retrieves the direction for fetching rows from database tables thatisthedefaultforresultsetsgeneratedfromthis <code>Statement</code> object. <br/> Ifthis <code>Statement</code> objecthasnotsetafetchdirection, thereturnvalueisimplementation-specific.
*/
[property] long FetchDirection;
/** retrieves the number of result set rows that is the default fetch size forresultsetsgeneratedfromthis <code>Statement</code> object. <br/> Ifthis <code>Statement</code> objecthasnotsetafetchsize, thereturnvalueisimplementation-specific.
*/
[property] long FetchSize;
/** returns if escape processing is on or off. Ifescapescanningison(thedefault),thedriverwilldo escapesubstitutionbeforesendingtheSQLtothedatabase.
*/
[property] boolean EscapeProcessing;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.