module com { module sun { module star { module sdbc {
published interface XPreparedStatement;
published interface XPreparedBatchExecution;
published interface XParameters;
published interface XWarningsSupplier;
published interface XMultipleResults;
published interface XResultSetMetaDataSupplier;
published interface XCloseable;
/** 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 prepared commands.
*/
interface XPreparedStatement;
/** provides access to the description of the result set which would be generated by executing the PreparedStatement.
*/
interface XResultSetMetaDataSupplier;
/** is used for setting parameters before execution of the precompiled statement.
*/
interface XParameters;
/** provides the ability of batch execution. This interface is optional forexecution. <p> Adriverimplementingbatchexecutionmustreturn `TRUE` for com::sun::star::sdbc::XDatabaseMetaData::supportsBatchUpdates() </p>
*/
[optional] interface XPreparedBatchExecution;
/** 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.
*/
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. <p> Thislimitisthemaximumnumberofbytesthatcanbereturned foranycolumnvalue.Thelimitappliesonlyto com::sun::star::sdbc::DataType::BINARY , com::sun::star::sdbc::DataType::VARBINARY , com::sun::star::sdbc::DataType::LONGVARBINARY , com::sun::star::sdbc::DataType::CHAR , com::sun::star::sdbc::DataType::VARCHAR , and com::sun::star::sdbc::DataType::LONGVARCHAR columns. Ifthelimitisexceeded,theexcessdataissilentlydiscarded. </p> <p> Thereisnolimitation,ifsettozero. </p>
*/
[property] long MaxFieldSize;
/** 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. <p> ThisnamecanthenbeusedinSQLpositionedupdate/deletestatementsto identifythecurrentrowintheResultSetgeneratedbythisstatement.If thedatabasedoesnotsupportpositionedupdate/delete,thispropertyis anoop.Toensurethatacursorhastheproperisolationleveltosupport updates,thecursor'sSELECTstatementshouldbeoftheform "selectforupdate...".Ifthe"forupdate"phraseisomitted, positionedupdatesmayfail. </p> <P> <B> Note: </B> Bydefinition,positionedupdate/delete executionmustbedonebyadifferentStatementthantheone whichgeneratedtheResultSetbeingusedforpositioning.Also, cursornamesmustbeuniquewithinaconnection. </p>
*/
[property] string CursorName;
/** retrieves the result set concurrency. @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. <p> Ifthis <code>Statement</code> objecthasnotsetafetchdirection, thereturnvalueisimplementation-specific. </p>
*/
[property] long FetchDirection;
/** retrieves the number of result set rows that is the default fetch size forresultsetsgeneratedfromthis <code>Statement</code> object. <p> Ifthis <code>Statement</code> objecthasnotsetafetchsize, thereturnvalueisimplementation-specific. </p>
*/
[property] long FetchSize;
};
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.