Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full CLOB not being saved #56

Open
tnrich opened this issue Nov 23, 2015 · 2 comments
Open

Full CLOB not being saved #56

tnrich opened this issue Nov 23, 2015 · 2 comments

Comments

@tnrich
Copy link

tnrich commented Nov 23, 2015

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!

@rpavez
Copy link

rpavez commented Nov 24, 2015

+1

1 similar comment
@mcfa77y
Copy link

mcfa77y commented Dec 3, 2015

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants