How to fix the Oracle error JMS-00168: Cannot specify both payload factory and sql_data_class?

In this post, you’ll learn more about the Oracle ErrorJMS-00168: Cannot specify both payload factory and sql_data_class with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

JMS-00168: Cannot specify both payload factory and sql_data_class

Reason for the Error JMS-00168: Cannot specify both payload factory and sql_data_class

Cause: Both CustomDatumFactory/ORADataFactory and SQLData class were specified during dequeue

How to fix the Error JMS-00168: Cannot specify both payload factory and sql_data_class ?

You can fix this error in Oracle by following the below steps

Action: Specify either the CustomDatumFactory/ORADataFactory or the SQLData class of the java object that maps to the ADT type defined for the queue.

Tags :

Leave Your Comment