Skip to content

Error updating CLOB w/ UTF8 charset #1757

Description

@xiongtx
  1. What versions are you using?

Oracle 23.9.0.0, thin client.

process.platform: darwin
process.version: v24.2.0
process.arch: arm64
oracledb.versionString: 6.9.0
oracledb.oracleClientVersionString: undefined
  1. Is it an error or a hang or a crash?

Error

  1. What error(s) or behavior you are seeing?

When DB has charset UTF8 (instead of default AL32UTF8), UPDATE to CLOB column when it's not the only field being bound results in error:

ORA-01461: The value at bind position 2 exceeded the maximum VARCHAR2 length.
  1. Include a runnable Node.js script that shows the problem.

See https://github.com/xiongtx/node-oracledb-clob-bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions