Is it possible to write JPQL query like following:
select count(*) > 0 from Scenario scen where scen.name = :name
that would return true/fals
What about just:
select count(scen) > 0 from Scenario scen where scen.name = :name