[teiid-issues] [JBoss JIRA] (TEIID-2783) ModeShape query isn't retaining quotes defined for column in NIS

RH Bugzilla Integration (JIRA) issues at jboss.org
Fri Dec 20 09:45:34 EST 2013


    [ https://issues.jboss.org/browse/TEIID-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932922#comment-12932922 ] 

RH Bugzilla Integration commented on TEIID-2783:
------------------------------------------------

Van Halbert <vhalbert at redhat.com> changed the Status of [bug 1045206|https://bugzilla.redhat.com/show_bug.cgi?id=1045206] from NEW to ASSIGNED
                
> 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: Steven Hawkins
>         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: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list