Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem dequeueing data from ADT queue using Java

user593489Sep 14 2007 — edited Sep 14 2007
We have a queue which is of a custom ADT (contains two varchar fields and a date field). The data gets queued just fine via PL/SQL, but when i try to dequeue the queue from my java code, i'm facing the following problem

16:09:07 oracle.jms.AQjmsException: JMS-137: Payload factory must be sp
ecified for destinations with ADT payloads


I tried to do a jpub on the custom ADT (record/payload type) to generate the java code for the payload type that generated the java class with a bunch of getter/setters and read/writeSQL methods, but i'm not sure how to specify the payload factory for the queue. Any help on this would be greatly appreciated. Thanks.

null
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 12 2007
Added on Sep 14 2007
0 comments
1,146 views