-
Notifications
You must be signed in to change notification settings - Fork 613
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
type binary (blob, clob, nclob in oracle) doesn't get saved #637
Comments
Hi, could you add some details to this issue report? Info about how you are using this library would be useful. Also I assume you must be using the activerecord-import-oracle_enhanced extension? |
I wasn't using "activerecord-import-oracle_enhanced extension" Here is my Gemfile:
Migration
In RDS Oracle, that translates to
database.yml
Event creation - scenario 1: create individually and it works fine
Event creation - scenario 2: bulk import using active-record import. all fields except BLOB, CLOB, and NCLOB (type text and binary) gets saved. BLOBs and CLOBs get saved as empty string
|
ActiveRecord-Import only supports postgresql, mysql, and sqlite "out of the box". Try adding the activerecord-import-oracle_enhanced extension. See: https://github.com/keeguon/activerecord-import-oracle_enhanced |
If you can capture the SQL that activerecord-import is generating, that would be helpful too. Can you share that? |
@jkowens I just stumbled upon this issue, it's still there and Example SQL looks like this:
The |
Migration: any column with type binary (oracle: blob), text (oracle: clob) or ntext (oracle nclob) gets saved as an empty string.
The text was updated successfully, but these errors were encountered: