jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Gomez <alejandro.go...@gmail.com>
Subject Re: sql query issue with 2.2.4
Date Wed, 23 Feb 2011 15:40:53 GMT
This is very important to me, I will appreciate a lot your help.

It is an issue with 2.2.4 version, and AFAIK the query is correct.

Thanks,


Alejandro Gomez

On Thu, Feb 17, 2011 at 6:04 PM, Alejandro Gomez
<alejandro.gomez@gmail.com> wrote:
> Hi,
>
> I have this query :
>
> select ...
>
> joins...
>
> WHERE
>        (       (ISSAMENODE(projects,
> '/repository/projects/U970f5509-54de-46d8-88bd-bc1a94ab85eb')))
>        AND
>        (       ( ISDESCENDANTNODE( projects, '/repository/projects') AND
> eventclassassociations.active = true )
>                or
>                ( ISDESCENDANTNODE( projects, '/repository/template') )
>        )
>        AND ((NAME(parentRelationshipStatus) = 'parentRelationshipStatus'))
>
> There were NO problem with 2.1.2, when I moved to 2.2.4 I obtained :
>
> javax.jcr.UnsupportedRepositoryOperationException: Unable to split a
> constraint that references both sides of a join:
> ((ISDESCENDANTNODE(projects, [/repository/projects])) AND
> (eventclassassociations.active = CAST('true' AS BOOLEAN))) OR
> (ISDESCENDANTNODE(projects, [/repository/template]))
>
>
>
> What does it means and why this happens now and not before?
>
>
> Thanks to everyone
>
>
> Alejandro Gomez
>
>
>
> --
> Lo que creas de los demás estará signado por lo que creas de ti mismo,
> y del mismo modo los hechos de tu vida.
>



-- 
Lo que creas de los demás estará signado por lo que creas de ti mismo,
y del mismo modo los hechos de tu vida.

Mime
View raw message