Using a cursor in ODBC to query EDS VDB gives a parsing error.

Solution Verified - Updated -

Issue

  • see the below error in the server log:
WARN  [org.teiid.PROCESSOR] (<worker q>) Processing exception 'Direct usage of XQuery is no longer supported, use XMLQUERY instead.' for request OLdT8uy5pDlQ.3.  Exception type org.teiid.api.exception.query.QueryParserException thrown from org.teiid.query.parser.SQLParser.generateParseException(SQLParser.java:10059). Enable more detailed logging to see the entire stacktrace.

Environment

  • Red Hat JBoss Data Services (EDS) 5.3.1
  • PostgresODBC driver for EDS
  • UseDeclareFetch=1 in the odbc dsn file

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content