'Exposed callable statements

Apparently we can you use Exposed for executing prepared statements like "update user set name = ? where id = ?" as stated in this answer. But executing stored procedures in database gets much more complicated as there's no registerOutParameter for exposed statement so I really have no clue how do I execute something like CALL SALES.TOTAL_REVENUE(?,?,?) with out parameters. More than that, exposed database connection is not java.sql.Connection anymore so I can't even use jdbc with it. Are there any workarounds?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source