So this is what I'm using currently:
Boolean result = (Boolean) session.createSQLQuery("select
schema.procedure(:param1, :param2)").setParameter("param1",
param1).setParameter("param2", param2).uniqueResult();
It works but I would feel better using "a proper" solution.
I have read many posts related to this but can't find a satisfying
solution. Most of them are out-of-date, using deprecated constructs.
Best regards
Jarda Z.