LibreOffice
LibreOffice 24.8 SDK API Reference
 
Loading...
Searching...
No Matches
PreparedStatement.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20 module com { module sun { module star { module sdbc {
21
22 published interface XPreparedStatement;
23 published interface XPreparedBatchExecution;
24 published interface XParameters;
25 published interface XWarningsSupplier;
26 published interface XMultipleResults;
27 published interface XResultSetMetaDataSupplier;
28 published interface XCloseable;
29
30
76published service PreparedStatement
77{
78
83
84
88 interface XCloseable;
89
90 // gives access to the properties.
92
98
102
103
108
109
113 interface XParameters;
114
115
125 [optional] interface XPreparedBatchExecution;
126
127
133
134
138
139
144 [property] long QueryTimeOut;
145
146
170 [property] long MaxFieldSize;
171
172
177 [property] long MaxRows;
178
179
202 [property] string CursorName;
203
204
208 [property] long ResultSetConcurrency;
209
210
214 [property] long ResultSetType;
215
216
228 [property] long FetchDirection;
229
230
242 [property] long FetchSize;
243};
244
245
246}; }; }; };
247
248/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
provides information about and access to the properties from an implementation.
Definition XPropertySet.idl:46
allows to explicitly free resources and break cyclic references.
Definition XComponent.idl:39
offers the possibility of canceling a job.
Definition XCancellable.idl:30
Definition Ambiguous.idl:20
represents a precompiled SQL statement.
Definition PreparedStatement.idl:77
long ResultSetConcurrency
retrieves the result set concurrency.
Definition PreparedStatement.idl:208
string CursorName
defines the SQL cursor name that will be used by subsequent Statement execute methods.
Definition PreparedStatement.idl:202
long ResultSetType
Determine the result set type.
Definition PreparedStatement.idl:214
interface XResultSetMetaDataSupplier
provides access to the description of the result set which would be generated by executing the Prepar...
Definition PreparedStatement.idl:107
interface XCloseable
freeing all resources of a statement.
Definition PreparedStatement.idl:88
long FetchSize
retrieves the number of result set rows that is the default fetch size for result sets generated from...
Definition PreparedStatement.idl:242
interface XWarningsSupplier
controls the chaining of warnings, which may occur on every call to the connected database.
Definition PreparedStatement.idl:132
long FetchDirection
retrieves the direction for fetching rows from database tables that is the default for result sets ge...
Definition PreparedStatement.idl:228
long MaxRows
retrieves the maximum number of rows that a ResultSet can contain.
Definition PreparedStatement.idl:177
interface XPreparedStatement
is the interface for executing SQL prepared commands.
Definition PreparedStatement.idl:101
interface XPreparedBatchExecution
provides the ability of batch execution.
Definition PreparedStatement.idl:125
interface XParameters
is used for setting parameters before execution of the precompiled statement.
Definition PreparedStatement.idl:113
long QueryTimeOut
retrieves the number of seconds the driver will wait for a Statement to execute.
Definition PreparedStatement.idl:144
interface XMultipleResults
covers the handling of multiple results after executing an SQL command.
Definition PreparedStatement.idl:137
long MaxFieldSize
returns the maximum number of bytes allowed for any column value.
Definition PreparedStatement.idl:170