Hi Michael,
I have to select the tournament based status and
tournamentStartDate. That is why I used manual query
@Query("start
tournament=node:__types__(className="com.letzplay.domain.Tournament")
where tournament.status = {0} and tourmanet.startDate={1} return
tournament")
This is giving compite time exception.
I have modified query like below. Its giving run time exception.
Please find the attachement.
@Query("start
tournament=node:__types__(className=com.letzplay.domain.Tournament)
where tournament.status = {0} return tournament") - Its not giving
compile time exception but its giving runtime exception
> it should look like for automatic derived queries.
>> Iterable<Tournament> findByStatus(String status);
> or if you want to use a manual query:
>
> @Query("tournament=node:__types__(className="com.letzplay.domain.Tournament") where tournament.status = {0} return tournament")
>> Iterable<Tournament> getAllTournament(String status);
>.