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

Solution Verified - Updated -


  • 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( Enable more detailed logging to see the entire stacktrace.


  • 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