|
1 |
| -/* Copyright (c) 2017, 2023, Oracle and/or its affiliates. */ |
| 1 | +/* Copyright (c) 2017, 2024, Oracle and/or its affiliates. */ |
2 | 2 |
|
3 | 3 | /******************************************************************************
|
4 | 4 | *
|
@@ -86,7 +86,7 @@ describe('102. bindTimestamp.js', function() {
|
86 | 86 | {
|
87 | 87 | i: id,
|
88 | 88 | ts: bv,
|
89 |
| - tz: bv |
| 89 | + tz: {type: oracledb.DB_TYPE_TIMESTAMP_TZ, val: bv } |
90 | 90 | },
|
91 | 91 | {
|
92 | 92 | autoCommit: true
|
@@ -203,9 +203,9 @@ describe('102. bindTimestamp.js', function() {
|
203 | 203 | {
|
204 | 204 | i: id,
|
205 | 205 | ts: bv,
|
206 |
| - tz: bv, |
| 206 | + tz: {type: oracledb.DB_TYPE_TIMESTAMP_TZ, val: bv}, |
207 | 207 | oid: {dir: oracledb.BIND_OUT, type: oracledb.NUMBER},
|
208 |
| - otz: {dir: oracledb.BIND_OUT, type: oracledb.DATE} |
| 208 | + otz: {dir: oracledb.BIND_OUT, type: oracledb.DB_TYPE_TIMESTAMP_TZ} |
209 | 209 | },
|
210 | 210 | { autoCommit: true});
|
211 | 211 | assert(result);
|
@@ -276,9 +276,9 @@ describe('102. bindTimestamp.js', function() {
|
276 | 276 | {
|
277 | 277 | i: id,
|
278 | 278 | ts: { val: bv, dir: oracledb.BIND_IN, type: oracledb.DATE },
|
279 |
| - tz: { val: bv, dir: oracledb.BIND_IN, type: oracledb.DATE }, |
| 279 | + tz: { val: bv, dir: oracledb.BIND_IN, type: oracledb.DB_TYPE_TIMESTAMP_TZ }, |
280 | 280 | ts1: { dir: oracledb.BIND_OUT, type: oracledb.DATE },
|
281 |
| - tz1: { dir: oracledb.BIND_OUT, type: oracledb.DATE } |
| 281 | + tz1: { dir: oracledb.BIND_OUT, type: oracledb.DB_TYPE_TIMESTAMP_TZ } |
282 | 282 | },
|
283 | 283 | { autoCommit: true});
|
284 | 284 |
|
|
0 commit comments