Skip to content

Full CLOB not being saved  #56

@tnrich

Description

@tnrich

Hey there,

I'm trying to insert a large CLOB into my oracle database via bookshelf. It's just a big string with well over 100,000 characters. Unfortunately when I save it to the DB, only 40K characters make it into the DB. No warnings are thrown. A coworker looked into this issue and said:

I looked at the strong-oracle driver code for clob's and it looks like it's auto detecting the clob type if it's sent as buffer type instead of a string type. You might try sending it in as a stream or buffer. Not exactly sure how to do that in Knex / Bookshelf though.

I'm wondering if anyone else has faced this sort of issue, and if anyone knows of a solution to it at the db driver level.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions