ruby-oci8 2.1.5.1-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +17 -0
  3. data/COPYING +30 -0
  4. data/COPYING_old +64 -0
  5. data/ChangeLog +2779 -0
  6. data/Makefile +92 -0
  7. data/NEWS +660 -0
  8. data/README.md +43 -0
  9. data/VERSION +1 -0
  10. data/dist-files +91 -0
  11. data/docs/install-binary-package.md +40 -0
  12. data/docs/install-full-client.md +116 -0
  13. data/docs/install-instant-client.md +167 -0
  14. data/docs/platform-specific-issues.md +197 -0
  15. data/docs/report-installation-issue.md +50 -0
  16. data/lib/.document +1 -0
  17. data/lib/dbd/OCI8.rb +591 -0
  18. data/lib/oci8.rb +147 -0
  19. data/lib/oci8.rb.in +147 -0
  20. data/lib/oci8/.document +8 -0
  21. data/lib/oci8/bindtype.rb +350 -0
  22. data/lib/oci8/compat.rb +113 -0
  23. data/lib/oci8/connection_pool.rb +108 -0
  24. data/lib/oci8/cursor.rb +564 -0
  25. data/lib/oci8/datetime.rb +605 -0
  26. data/lib/oci8/encoding-init.rb +79 -0
  27. data/lib/oci8/encoding.yml +537 -0
  28. data/lib/oci8/metadata.rb +2092 -0
  29. data/lib/oci8/object.rb +605 -0
  30. data/lib/oci8/oci8.rb +560 -0
  31. data/lib/oci8/ocihandle.rb +607 -0
  32. data/lib/oci8/oracle_version.rb +143 -0
  33. data/lib/oci8/properties.rb +134 -0
  34. data/lib/oci8lib_200.so +0 -0
  35. data/metaconfig +142 -0
  36. data/pre-distclean.rb +7 -0
  37. data/ruby-oci8.gemspec +80 -0
  38. data/setup.rb +1333 -0
  39. data/test/README +42 -0
  40. data/test/config.rb +184 -0
  41. data/test/setup_test_object.sql +171 -0
  42. data/test/test_all.rb +54 -0
  43. data/test/test_appinfo.rb +63 -0
  44. data/test/test_array_dml.rb +333 -0
  45. data/test/test_bind_raw.rb +46 -0
  46. data/test/test_bind_string.rb +106 -0
  47. data/test/test_bind_time.rb +178 -0
  48. data/test/test_break.rb +124 -0
  49. data/test/test_clob.rb +98 -0
  50. data/test/test_connection_pool.rb +125 -0
  51. data/test/test_connstr.rb +81 -0
  52. data/test/test_datetime.rb +581 -0
  53. data/test/test_dbi.rb +366 -0
  54. data/test/test_dbi_clob.rb +53 -0
  55. data/test/test_encoding.rb +104 -0
  56. data/test/test_error.rb +88 -0
  57. data/test/test_metadata.rb +1485 -0
  58. data/test/test_object.rb +462 -0
  59. data/test/test_oci8.rb +489 -0
  60. data/test/test_oracle_version.rb +70 -0
  61. data/test/test_oradate.rb +256 -0
  62. data/test/test_oranumber.rb +787 -0
  63. data/test/test_rowid.rb +33 -0
  64. metadata +109 -0
@@ -0,0 +1,607 @@
1
+ # ocihandle.rb -- Constants in OCIHandle.
2
+ #
3
+ # Copyright (C) 2010-2012 KUBO Takehiro <kubo@jiubao.org>
4
+
5
+ # The abstract base class to implement common behavior of OCI handle data types and OCI descriptor data types.
6
+ #
7
+ class OCIHandle
8
+
9
+ #################################
10
+ #
11
+ # Attribute Types in oci.h
12
+ #
13
+ #################################
14
+
15
+ # maximum size of the data
16
+ # @private
17
+ OCI_ATTR_DATA_SIZE = 1
18
+
19
+ # the SQL type of the column/argument
20
+ # @private
21
+ OCI_ATTR_DATA_TYPE = 2
22
+ # the name of the column/argument
23
+ # @private
24
+ OCI_ATTR_NAME = 4
25
+ # precision if number type
26
+ # @private
27
+ OCI_ATTR_PRECISION = 5
28
+ # scale if number type
29
+ # @private
30
+ OCI_ATTR_SCALE = 6
31
+ # is it null ?
32
+ # @private
33
+ OCI_ATTR_IS_NULL = 7
34
+ # name of the named data type or a package name
35
+ # @private
36
+ OCI_ATTR_TYPE_NAME = 8
37
+ # the schema name
38
+ # @private
39
+ OCI_ATTR_SCHEMA_NAME = 9
40
+ # type name if package private type
41
+ # @private
42
+ OCI_ATTR_SUB_NAME = 10
43
+ # relative position
44
+ # @private
45
+ OCI_ATTR_POSITION = 11
46
+ # packed decimal scale
47
+ # @private
48
+ OCI_ATTR_PDSCL = 16
49
+ # fs prec for datetime data types
50
+ # @private
51
+ OCI_ATTR_FSPRECISION = OCI_ATTR_PDSCL
52
+ # packed decimal format
53
+ # @private
54
+ OCI_ATTR_PDPRC = 17
55
+ # fs prec for datetime data types
56
+ # @private
57
+ OCI_ATTR_LFPRECISION = OCI_ATTR_PDPRC
58
+ # username attribute
59
+ # @private
60
+ OCI_ATTR_USERNAME = 22
61
+ # password attribute
62
+ # @private
63
+ OCI_ATTR_PASSWORD = 23
64
+ # Character Set ID
65
+ # @private
66
+ OCI_ATTR_CHARSET_ID = 31
67
+ # Character Set Form
68
+ # @private
69
+ OCI_ATTR_CHARSET_FORM = 32
70
+ # number of columns
71
+ # @private
72
+ OCI_ATTR_NUM_COLS = 102
73
+ # parameter of the column list
74
+ # @private
75
+ OCI_ATTR_LIST_COLUMNS = 103
76
+ # DBA of the segment header
77
+ # @private
78
+ OCI_ATTR_RDBA = 104
79
+ # whether the table is clustered
80
+ # @private
81
+ OCI_ATTR_CLUSTERED = 105
82
+ # whether the table is partitioned
83
+ # @private
84
+ OCI_ATTR_PARTITIONED = 106
85
+ # whether the table is index only
86
+ # @private
87
+ OCI_ATTR_INDEX_ONLY = 107
88
+ # parameter of the argument list
89
+ # @private
90
+ OCI_ATTR_LIST_ARGUMENTS = 108
91
+ # parameter of the subprogram list
92
+ # @private
93
+ OCI_ATTR_LIST_SUBPROGRAMS = 109
94
+ # REF to the type descriptor
95
+ # @private
96
+ OCI_ATTR_REF_TDO = 110
97
+ # the database link name
98
+ # @private
99
+ OCI_ATTR_LINK = 111
100
+ # minimum value
101
+ # @private
102
+ OCI_ATTR_MIN = 112
103
+ # maximum value
104
+ # @private
105
+ OCI_ATTR_MAX = 113
106
+ # increment value
107
+ # @private
108
+ OCI_ATTR_INCR = 114
109
+ # number of sequence numbers cached
110
+ # @private
111
+ OCI_ATTR_CACHE = 115
112
+ # whether the sequence is ordered
113
+ # @private
114
+ OCI_ATTR_ORDER = 116
115
+ # high-water mark
116
+ # @private
117
+ OCI_ATTR_HW_MARK = 117
118
+ # type's schema name
119
+ # @private
120
+ OCI_ATTR_TYPE_SCHEMA = 118
121
+ # timestamp of the object
122
+ # @private
123
+ OCI_ATTR_TIMESTAMP = 119
124
+ # number of parameters
125
+ # @private
126
+ OCI_ATTR_NUM_PARAMS = 121
127
+ # object id for a table or view
128
+ # @private
129
+ OCI_ATTR_OBJID = 122
130
+ # overload ID for funcs and procs
131
+ # @private
132
+ OCI_ATTR_OVERLOAD_ID = 125
133
+ # table name space
134
+ # @private
135
+ OCI_ATTR_TABLESPACE = 126
136
+ # list type
137
+ # @private
138
+ OCI_ATTR_LTYPE = 128
139
+ # whether table is temporary
140
+ # @private
141
+ OCI_ATTR_IS_TEMPORARY = 130
142
+ # whether table is typed
143
+ # @private
144
+ OCI_ATTR_IS_TYPED = 131
145
+ # duration of temporary table
146
+ # @private
147
+ OCI_ATTR_DURATION = 132
148
+ # is invoker rights
149
+ # @private
150
+ OCI_ATTR_IS_INVOKER_RIGHTS = 133
151
+ # top level schema obj name
152
+ # @private
153
+ OCI_ATTR_OBJ_NAME = 134
154
+ # schema name
155
+ # @private
156
+ OCI_ATTR_OBJ_SCHEMA = 135
157
+ # top level schema object id
158
+ # @private
159
+ OCI_ATTR_OBJ_ID = 136
160
+
161
+ # @private
162
+ OCI_ATTR_CONN_NOWAIT = 178
163
+ # @private
164
+ OCI_ATTR_CONN_BUSY_COUNT = 179
165
+ # @private
166
+ OCI_ATTR_CONN_OPEN_COUNT = 180
167
+ # @private
168
+ OCI_ATTR_CONN_TIMEOUT = 181
169
+ # @private
170
+ OCI_ATTR_CONN_MIN = 183
171
+ # @private
172
+ OCI_ATTR_CONN_MAX = 184
173
+ # @private
174
+ OCI_ATTR_CONN_INCR = 185
175
+
176
+ # is this position overloaded
177
+ # @private
178
+ OCI_ATTR_OVERLOAD = 210
179
+ # level for structured types
180
+ # @private
181
+ OCI_ATTR_LEVEL = 211
182
+ # has a default value
183
+ # @private
184
+ OCI_ATTR_HAS_DEFAULT = 212
185
+ # in, out inout
186
+ # @private
187
+ OCI_ATTR_IOMODE = 213
188
+ # returns a radix
189
+ # @private
190
+ OCI_ATTR_RADIX = 214
191
+ # total number of arguments
192
+ # @private
193
+ OCI_ATTR_NUM_ARGS = 215
194
+ # object or collection
195
+ # @private
196
+ OCI_ATTR_TYPECODE = 216
197
+ # varray or nested table
198
+ # @private
199
+ OCI_ATTR_COLLECTION_TYPECODE = 217
200
+ # user assigned version
201
+ # @private
202
+ OCI_ATTR_VERSION = 218
203
+ # is this an incomplete type
204
+ # @private
205
+ OCI_ATTR_IS_INCOMPLETE_TYPE = 219
206
+ # a system type
207
+ # @private
208
+ OCI_ATTR_IS_SYSTEM_TYPE = 220
209
+ # a predefined type
210
+ # @private
211
+ OCI_ATTR_IS_PREDEFINED_TYPE = 221
212
+ # a transient type
213
+ # @private
214
+ OCI_ATTR_IS_TRANSIENT_TYPE = 222
215
+ # system generated type
216
+ # @private
217
+ OCI_ATTR_IS_SYSTEM_GENERATED_TYPE = 223
218
+ # contains nested table attr
219
+ # @private
220
+ OCI_ATTR_HAS_NESTED_TABLE = 224
221
+ # has a lob attribute
222
+ # @private
223
+ OCI_ATTR_HAS_LOB = 225
224
+ # has a file attribute
225
+ # @private
226
+ OCI_ATTR_HAS_FILE = 226
227
+ # has a collection attribute
228
+ # @private
229
+ OCI_ATTR_COLLECTION_ELEMENT = 227
230
+ # number of attribute types
231
+ # @private
232
+ OCI_ATTR_NUM_TYPE_ATTRS = 228
233
+ # list of type attributes
234
+ # @private
235
+ OCI_ATTR_LIST_TYPE_ATTRS = 229
236
+ # number of type methods
237
+ # @private
238
+ OCI_ATTR_NUM_TYPE_METHODS = 230
239
+ # list of type methods
240
+ # @private
241
+ OCI_ATTR_LIST_TYPE_METHODS = 231
242
+ # map method of type
243
+ # @private
244
+ OCI_ATTR_MAP_METHOD = 232
245
+ # order method of type
246
+ # @private
247
+ OCI_ATTR_ORDER_METHOD = 233
248
+ # number of elements
249
+ # @private
250
+ OCI_ATTR_NUM_ELEMS = 234
251
+ # encapsulation level
252
+ # @private
253
+ OCI_ATTR_ENCAPSULATION = 235
254
+ # method selfish
255
+ # @private
256
+ OCI_ATTR_IS_SELFISH = 236
257
+ # virtual
258
+ # @private
259
+ OCI_ATTR_IS_VIRTUAL = 237
260
+ # inline
261
+ # @private
262
+ OCI_ATTR_IS_INLINE = 238
263
+ # constant
264
+ # @private
265
+ OCI_ATTR_IS_CONSTANT = 239
266
+ # has result
267
+ # @private
268
+ OCI_ATTR_HAS_RESULT = 240
269
+ # constructor
270
+ # @private
271
+ OCI_ATTR_IS_CONSTRUCTOR = 241
272
+ # destructor
273
+ # @private
274
+ OCI_ATTR_IS_DESTRUCTOR = 242
275
+ # operator
276
+ # @private
277
+ OCI_ATTR_IS_OPERATOR = 243
278
+ # a map method
279
+ # @private
280
+ OCI_ATTR_IS_MAP = 244
281
+ # order method
282
+ # @private
283
+ OCI_ATTR_IS_ORDER = 245
284
+ # read no data state method
285
+ # @private
286
+ OCI_ATTR_IS_RNDS = 246
287
+ # read no process state
288
+ # @private
289
+ OCI_ATTR_IS_RNPS = 247
290
+ # write no data state method
291
+ # @private
292
+ OCI_ATTR_IS_WNDS = 248
293
+ # write no process state
294
+ # @private
295
+ OCI_ATTR_IS_WNPS = 249
296
+ # @private
297
+ OCI_ATTR_IS_SUBTYPE = 258
298
+ # @private
299
+ OCI_ATTR_SUPERTYPE_SCHEMA_NAME = 259
300
+ # @private
301
+ OCI_ATTR_SUPERTYPE_NAME = 260
302
+ # list of objects in schema
303
+ # @private
304
+ OCI_ATTR_LIST_OBJECTS = 261
305
+ # char set id
306
+ # @private
307
+ OCI_ATTR_NCHARSET_ID = 262
308
+ # list of schemas
309
+ # @private
310
+ OCI_ATTR_LIST_SCHEMAS = 263
311
+ # max procedure length
312
+ # @private
313
+ OCI_ATTR_MAX_PROC_LEN = 264
314
+ # max column name length
315
+ # @private
316
+ OCI_ATTR_MAX_COLUMN_LEN = 265
317
+ # cursor commit behavior
318
+ # @private
319
+ OCI_ATTR_CURSOR_COMMIT_BEHAVIOR = 266
320
+ # catalog namelength
321
+ # @private
322
+ OCI_ATTR_MAX_CATALOG_NAMELEN = 267
323
+ # catalog location
324
+ # @private
325
+ OCI_ATTR_CATALOG_LOCATION = 268
326
+ # savepoint support
327
+ # @private
328
+ OCI_ATTR_SAVEPOINT_SUPPORT = 269
329
+ # nowait support
330
+ # @private
331
+ OCI_ATTR_NOWAIT_SUPPORT = 270
332
+ # autocommit DDL
333
+ # @private
334
+ OCI_ATTR_AUTOCOMMIT_DDL = 271
335
+ # locking mode
336
+ # @private
337
+ OCI_ATTR_LOCKING_MODE = 272
338
+ # value of client id to set
339
+ # @private
340
+ OCI_ATTR_CLIENT_IDENTIFIER = 278
341
+ # is final type ?
342
+ # @private
343
+ OCI_ATTR_IS_FINAL_TYPE = 279
344
+ # is instantiable type ?
345
+ # @private
346
+ OCI_ATTR_IS_INSTANTIABLE_TYPE = 280
347
+ # is final method ?
348
+ # @private
349
+ OCI_ATTR_IS_FINAL_METHOD = 281
350
+ # is instantiable method ?
351
+ # @private
352
+ OCI_ATTR_IS_INSTANTIABLE_METHOD = 282
353
+ # is overriding method ?
354
+ # @private
355
+ OCI_ATTR_IS_OVERRIDING_METHOD = 283
356
+ # Describe the base object
357
+ # @private
358
+ OCI_ATTR_DESC_SYNBASE = 284
359
+ # char length semantics
360
+ # @private
361
+ OCI_ATTR_CHAR_USED = 285
362
+ # char length
363
+ # @private
364
+ OCI_ATTR_CHAR_SIZE = 286
365
+ # rule condition
366
+ # @private
367
+ OCI_ATTR_CONDITION = 342
368
+ # comment
369
+ # @private
370
+ OCI_ATTR_COMMENT = 343
371
+ # Anydata value
372
+ # @private
373
+ OCI_ATTR_VALUE = 344
374
+ # eval context owner
375
+ # @private
376
+ OCI_ATTR_EVAL_CONTEXT_OWNER = 345
377
+ # eval context name
378
+ # @private
379
+ OCI_ATTR_EVAL_CONTEXT_NAME = 346
380
+ # eval function name
381
+ # @private
382
+ OCI_ATTR_EVALUATION_FUNCTION = 347
383
+ # variable type
384
+ # @private
385
+ OCI_ATTR_VAR_TYPE = 348
386
+ # variable value function
387
+ # @private
388
+ OCI_ATTR_VAR_VALUE_FUNCTION = 349
389
+ # variable method function
390
+ # @private
391
+ OCI_ATTR_VAR_METHOD_FUNCTION = 350
392
+ # action context
393
+ # @private
394
+ OCI_ATTR_ACTION_CONTEXT = 351
395
+ # list of table aliases
396
+ # @private
397
+ OCI_ATTR_LIST_TABLE_ALIASES = 352
398
+ # list of variable types
399
+ # @private
400
+ OCI_ATTR_LIST_VARIABLE_TYPES = 353
401
+ # table name
402
+ # @private
403
+ OCI_ATTR_TABLE_NAME = 356
404
+
405
+ #################################
406
+ #
407
+ # Various Modes
408
+ #
409
+ #################################
410
+
411
+ # the default value for parameters and attributes
412
+ # @private
413
+ OCI_DEFAULT = 0
414
+
415
+ #################################
416
+ #
417
+ # Credential Types
418
+ #
419
+ #################################
420
+
421
+ # database username/password credentials
422
+ # @private
423
+ OCI_CRED_RDBMS = 1
424
+ # externally provided credentials
425
+ # @private
426
+ OCI_CRED_EXT = 2
427
+
428
+ #################################
429
+ #
430
+ # Authentication Modes
431
+ #
432
+ #################################
433
+
434
+ # for SYSDBA authorization
435
+ # @private
436
+ OCI_SYSDBA = 0x0002
437
+ # for SYSOPER authorization
438
+ # @private
439
+ OCI_SYSOPER = 0x0004
440
+ # for SYSASM authorization
441
+ # @private
442
+ OCI_SYSASM = 0x8000
443
+
444
+ #################################
445
+ #
446
+ # OCI Parameter Types
447
+ #
448
+ #################################
449
+
450
+ # parameter type for unknown type
451
+ # @private
452
+ OCI_PTYPE_UNK = 0
453
+ # parameter type for table
454
+ # @private
455
+ OCI_PTYPE_TABLE = 1
456
+ # parameter type for view
457
+ # @private
458
+ OCI_PTYPE_VIEW = 2
459
+ # parameter type for procedure
460
+ # @private
461
+ OCI_PTYPE_PROC = 3
462
+ # parameter type for function
463
+ # @private
464
+ OCI_PTYPE_FUNC = 4
465
+ # parameter type for package
466
+ # @private
467
+ OCI_PTYPE_PKG = 5
468
+ # parameter type for user-defined type
469
+ # @private
470
+ OCI_PTYPE_TYPE = 6
471
+ # parameter type for synonym
472
+ # @private
473
+ OCI_PTYPE_SYN = 7
474
+ # parameter type for sequence
475
+ # @private
476
+ OCI_PTYPE_SEQ = 8
477
+ # parameter type for column
478
+ # @private
479
+ OCI_PTYPE_COL = 9
480
+ # parameter type for argument
481
+ # @private
482
+ OCI_PTYPE_ARG = 10
483
+ # parameter type for list
484
+ # @private
485
+ OCI_PTYPE_LIST = 11
486
+ # parameter type for user-defined type's attribute
487
+ # @private
488
+ OCI_PTYPE_TYPE_ATTR = 12
489
+ # parameter type for collection type's element
490
+ # @private
491
+ OCI_PTYPE_TYPE_COLL = 13
492
+ # parameter type for user-defined type's method
493
+ # @private
494
+ OCI_PTYPE_TYPE_METHOD = 14
495
+ # parameter type for user-defined type method's arg
496
+ # @private
497
+ OCI_PTYPE_TYPE_ARG = 15
498
+ # parameter type for user-defined type method's result
499
+ # @private
500
+ OCI_PTYPE_TYPE_RESULT = 16
501
+ # parameter type for schema
502
+ # @private
503
+ OCI_PTYPE_SCHEMA = 17
504
+ # parameter type for database
505
+ # @private
506
+ OCI_PTYPE_DATABASE = 18
507
+ # parameter type for rule
508
+ # @private
509
+ OCI_PTYPE_RULE = 19
510
+ # parameter type for rule set
511
+ # @private
512
+ OCI_PTYPE_RULE_SET = 20
513
+ # parameter type for evaluation context
514
+ # @private
515
+ OCI_PTYPE_EVALUATION_CONTEXT = 21
516
+ # parameter type for table alias
517
+ # @private
518
+ OCI_PTYPE_TABLE_ALIAS = 22
519
+ # parameter type for variable type
520
+ # @private
521
+ OCI_PTYPE_VARIABLE_TYPE = 23
522
+ # parameter type for name value pair
523
+ # @private
524
+ OCI_PTYPE_NAME_VALUE = 24
525
+
526
+ #################################
527
+ #
528
+ # OCI List Types
529
+ #
530
+ #################################
531
+
532
+ # list type for unknown type
533
+ # @private
534
+ OCI_LTYPE_UNK = 0
535
+ # list type for column list
536
+ # @private
537
+ OCI_LTYPE_COLUMN = 1
538
+ # list type for procedure argument list
539
+ # @private
540
+ OCI_LTYPE_ARG_PROC = 2
541
+ # list type for function argument list
542
+ # @private
543
+ OCI_LTYPE_ARG_FUNC = 3
544
+ # list type for subprogram list
545
+ # @private
546
+ OCI_LTYPE_SUBPRG = 4
547
+ # list type for type attribute
548
+ # @private
549
+ OCI_LTYPE_TYPE_ATTR = 5
550
+ # list type for type method
551
+ # @private
552
+ OCI_LTYPE_TYPE_METHOD = 6
553
+ # list type for type method w/o result argument list
554
+ # @private
555
+ OCI_LTYPE_TYPE_ARG_PROC = 7
556
+ # list type for type method w/result argument list
557
+ # @private
558
+ OCI_LTYPE_TYPE_ARG_FUNC = 8
559
+ # list type for schema object list
560
+ # @private
561
+ OCI_LTYPE_SCH_OBJ = 9
562
+ # list type for database schema list
563
+ # @private
564
+ OCI_LTYPE_DB_SCH = 10
565
+ # list type for subtype list
566
+ # @private
567
+ OCI_LTYPE_TYPE_SUBTYPE = 11
568
+ # list type for table alias list
569
+ # @private
570
+ OCI_LTYPE_TABLE_ALIAS = 12
571
+ # list type for variable type list
572
+ # @private
573
+ OCI_LTYPE_VARIABLE_TYPE = 13
574
+ # list type for name value list
575
+ # @private
576
+ OCI_LTYPE_NAME_VALUE = 14
577
+
578
+ #################################
579
+ #
580
+ # OBJECT Duration in oro.h
581
+ #
582
+ #################################
583
+
584
+ #
585
+ # @private
586
+ OCI_DURATION_INVALID = 0xFFFF
587
+ # @private
588
+ OCI_DURATION_BEGIN = 10
589
+ # @private
590
+ OCI_DURATION_NULL = OCI_DURATION_BEGIN - 1
591
+ # @private
592
+ OCI_DURATION_DEFAULT = OCI_DURATION_BEGIN - 2
593
+ # @private
594
+ OCI_DURATION_USER_CALLBACK = OCI_DURATION_BEGIN - 3
595
+ # @private
596
+ OCI_DURATION_NEXT = OCI_DURATION_BEGIN - 4
597
+ # @private
598
+ OCI_DURATION_SESSION = OCI_DURATION_BEGIN
599
+ # @private
600
+ OCI_DURATION_TRANS = OCI_DURATION_BEGIN + 1
601
+ # @private
602
+ OCI_DURATION_CALL = OCI_DURATION_BEGIN + 2
603
+ # @private
604
+ OCI_DURATION_STATEMENT = OCI_DURATION_BEGIN + 3
605
+ # @private
606
+ OCI_DURATION_CALLOUT = OCI_DURATION_BEGIN + 4
607
+ end