Oracle with XMLType column gives invalid conversion errors in EDS

Solution Verified - Updated -

Issue

  • We created a VDB that uses an Oracle source with an xmltype column, when we deploy and query it we receive:
2013-10-24 11:40:08,812 DEBUG [org.teiid.PROCESSOR] (Worker1_QueryProcessorQueue18) Sending error to client mQZtsueFYwFQ.0
org.teiid.core.types.TransformationException: Invalid conversion from type class java.lang.Object with value 'oracle.sql.OPAQUE@130118' to type class org.teiid.core.types.XMLType
    at org.teiid.core.types.basic.ObjectToAnyTransform.transformDirect(ObjectToAnyTransform.java:59)
    at org.teiid.core.types.Transform.transform(Transform.java:47)
    at org.teiid.core.types.DataTypeManager.transformValue(DataTypeManager.java:861)
    at org.teiid.dqp.internal.process.DataTierTupleSource.correctTypes(DataTierTupleSource.java:169)
    at org.teiid.dqp.internal.process.DataTierTupleSource.nextTuple(DataTierTupleSource.java:273)
    at org.teiid.query.processor.relational.AccessNode.nextBatchDirect(AccessNode.java:271)
    at org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:280)
    at org.teiid.query.processor.relational.RelationalPlan.nextBatch(RelationalPlan.java:149)
    at org.teiid.query.processor.QueryProcessor.nextBatchDirect(QueryProcessor.java:139)
    at org.teiid.query.processor.QueryProcessor.nextBatch(QueryProcessor.java:105)
    at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:147)
    at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:377)
    at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:290)
    at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:49)
    at org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:218)
    at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:244)
    at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:122)
    at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:292)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)

Environment

  • Red Hat JBoss Data Services (EDS) 5.3.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In