]
RH Bugzilla Integration commented on TEIID-2783:
------------------------------------------------
Van Halbert <vhalbert(a)redhat.com> changed the Status of [bug
ModeShape query isn't retaining quotes defined for column in NIS
----------------------------------------------------------------
Key: TEIID-2783
URL:
https://issues.jboss.org/browse/TEIID-2783
Project: Teiid
Issue Type: Bug
Components: Misc. Connectors
Affects Versions: 8.4.1
Reporter: Van Halbert
Assignee: Van Halbert
Attachments: ModeShape.vdb
Issuing query:
SELECT jcr_name FROM nt_base AS children WHERE JCR_ISCHILDNODE(children.jcr_path,
'/pathtoparent')
produces exception:
Caused by: javax.jcr.query.InvalidQueryException: The JCR-SQL2 query "SELECT
g_0.jcr:name FROM "nt:base" AS g_0 WHERE ISCHILDNODE(g_0.jcr:path,
'/pathtoparent')" is not well-formed: Expecting "FROM" but found
":" at line 1, column 15: SELECT g_0.jcr ===>> :name FROM
"nt:base"
at org.modeshape.jcr.JcrQueryManager.createQuery(JcrQueryManager.java:146)
at org.modeshape.jcr.JcrQueryManager.createQuery(JcrQueryManager.java:101)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: