Oracle AQ error on 12c - ORA-00932: inconsistent datatypes: expected SYS.AQ$_JMS_TEXT_MESSAGE got SY
Hello,
We are having difficulty getting our web application to run against Oracle 12c. The application, developed and running fine on Oracle 11, relies on an Oracle AQ.
When attempting to run the application on Oracle 12c, we're hitting an error writing messages to the queue via spring-jms version 4.3.5.
The exact version: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
Caused by: oracle.jms.AQjmsException: ORA-00604: error occurred at recursive SQL level 1
ORA-00932: inconsistent datatypes: expected SYS.AQ$_JMS_TEXT_MESSAGE got SYS.AQ$_JMS_TEXT_MESSAGE
at oracle.jms.AQjmsProducer.jdbcEnqueue(AQjmsProducer.java:1157)
at oracle.jms.AQjmsProducer.send(AQjmsProducer.java:794)