2
2
3
3
/* *****************************************************************************
4
4
*
5
- * You may not use the identified files except in compliance with the Apache
5
+ * You may not use the identified files except in compliance with the Apache
6
6
* License, Version 2.0 (the "License.")
7
7
*
8
- * You may obtain a copy of the License at
8
+ * You may obtain a copy of the License at
9
9
* http://www.apache.org/licenses/LICENSE-2.0.
10
10
*
11
- * Unless required by applicable law or agreed to in writing, software
11
+ * Unless required by applicable law or agreed to in writing, software
12
12
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13
13
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
14
*
15
- * See the License for the specific language governing permissions and
15
+ * See the License for the specific language governing permissions and
16
16
* limitations under the License.
17
17
*
18
18
* NAME
30
30
#endif
31
31
32
32
#if !defined(OCI_MAJOR_VERSION) || (OCI_MAJOR_VERSION < 11) || \
33
- ((OCI_MAJOR_VERSION == 11 ) && (OCI_MINOR_VERSION < 2 ))
34
- #error Oracle 11.2 or later client libraries are required for building
33
+ ((OCI_MAJOR_VERSION == 11 ) && (OCI_MINOR_VERSION < 2 ))
34
+ #error Oracle 11.2 or later client libraries are required for building
35
35
#endif
36
36
37
37
@@ -47,7 +47,7 @@ namespace dpi
47
47
PUBLIC TYPES
48
48
---------------------------------------------------------------------------*/
49
49
50
-
50
+
51
51
enum DpiStmtType
52
52
{
53
53
DpiStmtUnknown = 0 ,
@@ -88,7 +88,7 @@ typedef enum
88
88
DpiBfile = 114 ,
89
89
DpiYearMonth = 182 , /* internal only */
90
90
DpiDaySecond = 183 , /* internal only */
91
- DpiTimestamp = 187 , /* internal only */
91
+ DpiTimestamp = 187 , /* internal only */
92
92
DpiTimestampTZ = 188 , /* internal only */
93
93
DpiURowid = 208 , /* internal only */
94
94
DpiTimestampLTZ = 232 , /* internal only */
@@ -148,33 +148,33 @@ class Stmt
148
148
// methods
149
149
virtual void bind (unsigned int pos, unsigned short type, void *buf,
150
150
DPI_SZ_TYPE bufSize, short *ind, DPI_BUFLEN_TYPE *bufLen) = 0;
151
-
151
+
152
152
virtual void bind (const unsigned char *name, int nameLen,
153
153
unsigned short type, void *buf, DPI_SZ_TYPE bufSize,
154
154
short *ind, DPI_BUFLEN_TYPE *bufLen) = 0;
155
155
156
156
virtual void execute ( int numIterations, bool isAutoCommit = false ) = 0;
157
-
157
+
158
158
virtual void define (unsigned int pos, unsigned short type, void *buf,
159
159
DPI_SZ_TYPE bufSize, short *ind, DPI_BUFLEN_TYPE *bufLen) = 0;
160
-
160
+
161
161
virtual void fetch (unsigned int numRows = 1 ) = 0;
162
-
162
+
163
163
virtual const MetaData * getMetaData () = 0;
164
164
165
165
virtual unsigned int rowsFetched () const = 0;
166
166
167
167
virtual OCIError *getError () = 0;
168
-
169
-
168
+
169
+
170
170
virtual ~Stmt (){};
171
171
172
172
protected:
173
173
// clients cannot do new and delete
174
174
Stmt (){};
175
175
176
176
private:
177
-
177
+
178
178
};
179
179
180
180
0 commit comments