[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
Tue Feb 24 09:18:49 EST 2015


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

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

asmigala at redhat.com changed the Status of [bug 1045206|https://bugzilla.redhat.com/show_bug.cgi?id=1045206] from ON_QA 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: 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 was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the teiid-issues mailing list