Update ODPI-C to support XMLType in fetches
This commit is contained in:
parent
c29f86f6d3
commit
37f061cb3f
|
@ -4,8 +4,8 @@
|
|||
|
||||
This release is currently under development.
|
||||
|
||||
- Support user proxies and external authentication with standalone
|
||||
connections (ODPI-C change).
|
||||
- Support the combination of a user proxy and external authentication
|
||||
with standalone connections (ODPI-C change).
|
||||
|
||||
- Defer initialization of the Oracle Client libraries until the first
|
||||
use of `oracledb.getConnection()`, `oracledb.createPool()`,
|
||||
|
@ -33,6 +33,9 @@ This release is currently under development.
|
|||
due to potential for confusion or unexpected behavior due to
|
||||
order-of-execution issues.
|
||||
|
||||
- Support fetching XMLTYPE columns in queries. They will return as
|
||||
String.
|
||||
|
||||
- Display correct error message for SODA `createIndex()` when no
|
||||
parameter is passed.
|
||||
|
||||
|
|
10
doc/api.md
10
doc/api.md
|
@ -7369,8 +7369,8 @@ Queries will return ROWID and UROWID columns as Strings.
|
|||
|
||||
##### <a name="fetchxml"></a> 13.1.6.8 Fetching XMLType
|
||||
|
||||
`XMLType` columns cannot be queried directly. Instead handle them as
|
||||
CLOBs, see [Working with XMLType](#xmltype).
|
||||
`XMLType` columns queried will returns as Strings. They can also be
|
||||
handled as CLOBs, see [Working with XMLType](#xmltype).
|
||||
|
||||
##### <a name="fetchraw"></a> 13.1.6.9 Fetching RAW
|
||||
|
||||
|
@ -8656,8 +8656,10 @@ For more information about using JSON in Oracle Database see the
|
|||
|
||||
## <a name="xmltype"></a> 17. Working with XMLType
|
||||
|
||||
`XMLType` columns cannot be queried directly. Instead, change the SQL
|
||||
query to return a CLOB, for example
|
||||
`XMLType` columns queried will returns as Strings by default.
|
||||
|
||||
However, if desired, the SQL query could be changed to return a CLOB,
|
||||
for example:
|
||||
|
||||
```sql
|
||||
var sql = 'SELECT XMLTYPE.GETCLOBVAL(res) FROM resource_view';
|
||||
|
|
2
odpi
2
odpi
|
@ -1 +1 @@
|
|||
Subproject commit 61f68d7e3e4fc01559a5bb1ca7a1a06cef49339f
|
||||
Subproject commit d51e9c496381427dd09f7fb0cbaab3e152667026
|
Loading…
Reference in New Issue