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: Using Stored Procedures (The Java™ Tutorials > JDBC Database Access > JDBC Basics)

See also: Running SQL Queries - CUBA Platform. Developer’s Manual

1 Like