jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Gomez <alejandro.go...@gmail.com>
Subject sql query issue with 2.2.4
Date Thu, 17 Feb 2011 21:04:45 GMT

I have this query :

select ...


	(	(ISSAMENODE(projects,
	(	( ISDESCENDANTNODE( projects, '/repository/projects') AND
eventclassassociations.active = true )
		( 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.

View raw message