My Oracle Support Banner

Inserted value too large for column Error on Enqueue of Message into a Database using a Multi-Byte Characterset (Doc ID 333051.1)

Last updated on FEBRUARY 21, 2019

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.


Enqueue of a JMS_TEXT_MESSAGE fails when enqueuing messages via the OJMS API which are greater than VARCHAR2(2000) and less than or equal to VARCHAR2(4000) into a database using a multi-byte characterset.

The following error is reported

oracle.jms.AQjmsException: Inserted value too large for column: "??....

        at oracle.jms.AQjmsProducer.enqueue(
        at oracle.jms.AQjmsProducer.publish(
        at oracle.jms.AQjmsProducer.publish(
        at JmsTester.test(
        at JmsTester.main(

Alternatively the problem may manifest itself as a message which is successfully dequeued by a Message Driver Bean (MDB) running in OC4J 10.1.3.x or an OJMS client application but has a NULL payload.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.