Details
-
Bug
-
Resolution: Done
-
Critical
-
2.5.0.Final, 2.6.0.Beta2
-
None
Description
I'm trying to do is to query some properties of parent and child node together, below is the JCR_SQL2:
SELECT parent.title, child.age FROM [nt:unstructured] as parent FULL OUTER JOIN [nt:unstructured] as child ON ISCHILDNODE(child, parent) WHERE child.age =10
the QueryResult.getColumnName() returns ["title", "age"], but I got the follow exception while I try to call Row.getValue("title") method
java.lang.ArrayIndexOutOfBoundsException: 14 at org.modeshape.jcr.query.JcrQueryResult$MultiSelectorQueryResultRow.getValue(JcrQueryResult.java:651) at javax.jcr.query.Row$getValue.call(Unknown Source)