Call stored procedure in cuba

Hi,

How can I call stored procedure in cuba?

Thanks,
Saurabh

Hello, @saurabh60292

Unfortunately, there is no special API to call stored procedures in CUBA. You can use JDBC API of your database.

There are few topics about your question on the forum:

Regards,
Daniil.

Hi!

Since cuba ORM based on JDBC you can always use it to call the underlying SQL: https://docs.oracle.com/javase/tutorial/jdbc/basics/storedprocedures.html

See also: https://doc.cuba-platform.com/manual-6.8/nativeQuery.html

1 Like