ruby-oci8 2.2.10-x64-mingw-ucrt

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +14 -0
  3. data/COPYING +30 -0
  4. data/COPYING_old +64 -0
  5. data/ChangeLog +3826 -0
  6. data/Makefile +92 -0
  7. data/NEWS +1209 -0
  8. data/README.md +66 -0
  9. data/dist-files +112 -0
  10. data/docs/bind-array-to-in_cond.md +38 -0
  11. data/docs/conflicts-local-connections-and-processes.md +98 -0
  12. data/docs/hanging-after-inactivity.md +63 -0
  13. data/docs/install-binary-package.md +44 -0
  14. data/docs/install-full-client.md +111 -0
  15. data/docs/install-instant-client.md +194 -0
  16. data/docs/install-on-osx.md +46 -0
  17. data/docs/ldap-auth-and-function-interposition.md +123 -0
  18. data/docs/number-type-mapping.md +79 -0
  19. data/docs/platform-specific-issues.md +164 -0
  20. data/docs/report-installation-issue.md +50 -0
  21. data/docs/timeout-parameters.md +94 -0
  22. data/lib/.document +1 -0
  23. data/lib/dbd/OCI8.rb +591 -0
  24. data/lib/oci8/.document +8 -0
  25. data/lib/oci8/bindtype.rb +333 -0
  26. data/lib/oci8/check_load_error.rb +146 -0
  27. data/lib/oci8/compat.rb +117 -0
  28. data/lib/oci8/connection_pool.rb +179 -0
  29. data/lib/oci8/cursor.rb +605 -0
  30. data/lib/oci8/datetime.rb +605 -0
  31. data/lib/oci8/encoding-init.rb +45 -0
  32. data/lib/oci8/encoding.yml +537 -0
  33. data/lib/oci8/metadata.rb +2148 -0
  34. data/lib/oci8/object.rb +641 -0
  35. data/lib/oci8/oci8.rb +756 -0
  36. data/lib/oci8/ocihandle.rb +591 -0
  37. data/lib/oci8/oracle_version.rb +153 -0
  38. data/lib/oci8/properties.rb +196 -0
  39. data/lib/oci8/version.rb +3 -0
  40. data/lib/oci8.rb +190 -0
  41. data/lib/oci8lib_310.so +0 -0
  42. data/lib/ruby-oci8.rb +1 -0
  43. data/metaconfig +142 -0
  44. data/pre-distclean.rb +7 -0
  45. data/ruby-oci8.gemspec +85 -0
  46. data/setup.rb +1342 -0
  47. data/test/README.md +37 -0
  48. data/test/config.rb +201 -0
  49. data/test/setup_test_object.sql +199 -0
  50. data/test/setup_test_package.sql +59 -0
  51. data/test/test_all.rb +56 -0
  52. data/test/test_appinfo.rb +62 -0
  53. data/test/test_array_dml.rb +332 -0
  54. data/test/test_bind_array.rb +70 -0
  55. data/test/test_bind_boolean.rb +99 -0
  56. data/test/test_bind_integer.rb +47 -0
  57. data/test/test_bind_raw.rb +45 -0
  58. data/test/test_bind_string.rb +105 -0
  59. data/test/test_bind_time.rb +177 -0
  60. data/test/test_break.rb +125 -0
  61. data/test/test_clob.rb +85 -0
  62. data/test/test_connection_pool.rb +124 -0
  63. data/test/test_connstr.rb +220 -0
  64. data/test/test_datetime.rb +585 -0
  65. data/test/test_dbi.rb +365 -0
  66. data/test/test_dbi_clob.rb +53 -0
  67. data/test/test_encoding.rb +103 -0
  68. data/test/test_error.rb +87 -0
  69. data/test/test_metadata.rb +2674 -0
  70. data/test/test_object.rb +546 -0
  71. data/test/test_oci8.rb +624 -0
  72. data/test/test_oracle_version.rb +68 -0
  73. data/test/test_oradate.rb +255 -0
  74. data/test/test_oranumber.rb +792 -0
  75. data/test/test_package_type.rb +981 -0
  76. data/test/test_properties.rb +17 -0
  77. data/test/test_rowid.rb +32 -0
  78. metadata +123 -0
@@ -0,0 +1,591 @@
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
+ # OCI Parameter Types
431
+ #
432
+ #################################
433
+
434
+ # parameter type for unknown type
435
+ # @private
436
+ OCI_PTYPE_UNK = 0
437
+ # parameter type for table
438
+ # @private
439
+ OCI_PTYPE_TABLE = 1
440
+ # parameter type for view
441
+ # @private
442
+ OCI_PTYPE_VIEW = 2
443
+ # parameter type for procedure
444
+ # @private
445
+ OCI_PTYPE_PROC = 3
446
+ # parameter type for function
447
+ # @private
448
+ OCI_PTYPE_FUNC = 4
449
+ # parameter type for package
450
+ # @private
451
+ OCI_PTYPE_PKG = 5
452
+ # parameter type for user-defined type
453
+ # @private
454
+ OCI_PTYPE_TYPE = 6
455
+ # parameter type for synonym
456
+ # @private
457
+ OCI_PTYPE_SYN = 7
458
+ # parameter type for sequence
459
+ # @private
460
+ OCI_PTYPE_SEQ = 8
461
+ # parameter type for column
462
+ # @private
463
+ OCI_PTYPE_COL = 9
464
+ # parameter type for argument
465
+ # @private
466
+ OCI_PTYPE_ARG = 10
467
+ # parameter type for list
468
+ # @private
469
+ OCI_PTYPE_LIST = 11
470
+ # parameter type for user-defined type's attribute
471
+ # @private
472
+ OCI_PTYPE_TYPE_ATTR = 12
473
+ # parameter type for collection type's element
474
+ # @private
475
+ OCI_PTYPE_TYPE_COLL = 13
476
+ # parameter type for user-defined type's method
477
+ # @private
478
+ OCI_PTYPE_TYPE_METHOD = 14
479
+ # parameter type for user-defined type method's arg
480
+ # @private
481
+ OCI_PTYPE_TYPE_ARG = 15
482
+ # parameter type for user-defined type method's result
483
+ # @private
484
+ OCI_PTYPE_TYPE_RESULT = 16
485
+ # parameter type for schema
486
+ # @private
487
+ OCI_PTYPE_SCHEMA = 17
488
+ # parameter type for database
489
+ # @private
490
+ OCI_PTYPE_DATABASE = 18
491
+ # parameter type for rule
492
+ # @private
493
+ OCI_PTYPE_RULE = 19
494
+ # parameter type for rule set
495
+ # @private
496
+ OCI_PTYPE_RULE_SET = 20
497
+ # parameter type for evaluation context
498
+ # @private
499
+ OCI_PTYPE_EVALUATION_CONTEXT = 21
500
+ # parameter type for table alias
501
+ # @private
502
+ OCI_PTYPE_TABLE_ALIAS = 22
503
+ # parameter type for variable type
504
+ # @private
505
+ OCI_PTYPE_VARIABLE_TYPE = 23
506
+ # parameter type for name value pair
507
+ # @private
508
+ OCI_PTYPE_NAME_VALUE = 24
509
+
510
+ #################################
511
+ #
512
+ # OCI List Types
513
+ #
514
+ #################################
515
+
516
+ # list type for unknown type
517
+ # @private
518
+ OCI_LTYPE_UNK = 0
519
+ # list type for column list
520
+ # @private
521
+ OCI_LTYPE_COLUMN = 1
522
+ # list type for procedure argument list
523
+ # @private
524
+ OCI_LTYPE_ARG_PROC = 2
525
+ # list type for function argument list
526
+ # @private
527
+ OCI_LTYPE_ARG_FUNC = 3
528
+ # list type for subprogram list
529
+ # @private
530
+ OCI_LTYPE_SUBPRG = 4
531
+ # list type for type attribute
532
+ # @private
533
+ OCI_LTYPE_TYPE_ATTR = 5
534
+ # list type for type method
535
+ # @private
536
+ OCI_LTYPE_TYPE_METHOD = 6
537
+ # list type for type method w/o result argument list
538
+ # @private
539
+ OCI_LTYPE_TYPE_ARG_PROC = 7
540
+ # list type for type method w/result argument list
541
+ # @private
542
+ OCI_LTYPE_TYPE_ARG_FUNC = 8
543
+ # list type for schema object list
544
+ # @private
545
+ OCI_LTYPE_SCH_OBJ = 9
546
+ # list type for database schema list
547
+ # @private
548
+ OCI_LTYPE_DB_SCH = 10
549
+ # list type for subtype list
550
+ # @private
551
+ OCI_LTYPE_TYPE_SUBTYPE = 11
552
+ # list type for table alias list
553
+ # @private
554
+ OCI_LTYPE_TABLE_ALIAS = 12
555
+ # list type for variable type list
556
+ # @private
557
+ OCI_LTYPE_VARIABLE_TYPE = 13
558
+ # list type for name value list
559
+ # @private
560
+ OCI_LTYPE_NAME_VALUE = 14
561
+
562
+ #################################
563
+ #
564
+ # OBJECT Duration in oro.h
565
+ #
566
+ #################################
567
+
568
+ #
569
+ # @private
570
+ OCI_DURATION_INVALID = 0xFFFF
571
+ # @private
572
+ OCI_DURATION_BEGIN = 10
573
+ # @private
574
+ OCI_DURATION_NULL = OCI_DURATION_BEGIN - 1
575
+ # @private
576
+ OCI_DURATION_DEFAULT = OCI_DURATION_BEGIN - 2
577
+ # @private
578
+ OCI_DURATION_USER_CALLBACK = OCI_DURATION_BEGIN - 3
579
+ # @private
580
+ OCI_DURATION_NEXT = OCI_DURATION_BEGIN - 4
581
+ # @private
582
+ OCI_DURATION_SESSION = OCI_DURATION_BEGIN
583
+ # @private
584
+ OCI_DURATION_TRANS = OCI_DURATION_BEGIN + 1
585
+ # @private
586
+ OCI_DURATION_CALL = OCI_DURATION_BEGIN + 2
587
+ # @private
588
+ OCI_DURATION_STATEMENT = OCI_DURATION_BEGIN + 3
589
+ # @private
590
+ OCI_DURATION_CALLOUT = OCI_DURATION_BEGIN + 4
591
+ end