Using Oracle, creating a new row in a table fails when the data assigned to a CLOB column is >4000 characters. The error is
SequelizeDatabaseError: ORA-01704: string literal too long
at module.exports.Query.run.Query.formatError (/apps/node-emc-data/node_modules/cu8-sequelize-oracle/lib/dialects/oracle/query.js:203:16)
at /apps/node-emc-data/node_modules/cu8-sequelize-oracle/lib/dialects/oracle/query.js:91:37
at custExecuteCb (/apps/node-emc-data/node_modules/oracledb/lib/connection.js:98:7)
Using Oracle, creating a new row in a table fails when the data assigned to a CLOB column is >4000 characters. The error is
The code looks like this:
The model for the events table is as follows:
The problem is the eventData, when stringified, is about 12,000 characters long, and could potentially be longer.