Oracle Error ORA-22295: cannot bind more than 4000 bytes data to LOB and LONG columns in 1 statement

Oracle Error Message

ORA-22295: cannot bind more than 4000 bytes data to LOB and LONG columns in 1 statement

Reason for the Error

An attempt was made to bind data more than 4000 bytes of data to both LOB and LONG columns in the same insert or update statement. You can bind more than 4000 bytes of data to either a LONG column or one or more LOB columns but not both.

Solution

Bind more than 4000 bytes of data to either the LONG column or one or more LOB columns but not both.