I want to write an experimental JDBC client application with OE as the database. One of the basic requirements is that the JDBC client be able to invoke Stored Procedures defined in the OpenEdge database. The eventual goal is to write a full-scale application using Spring and Hibernate for the back end with an Angular front-end.
Can someone point me in the right direction that helps me understand how to define and use Stored Procedures for an OE database
A simple example for:
Defining such a Stored Procedure
How a JDBC client would utilize such a Stored Procedure
Here is the link to knowledge base article which shows how to create and use store procedures.
And here is the link to documentation on stored procedures.
Thanks @makhtar for the very helpful URLs.
The need is to eventually migrate from Progress RDBMS with the first phase focusing on converting the application logic from Progress 4GL to Java/JDBC. Where SQL92 Triggers come into the picture is trying to answer to the needs of real-time invocation of logic based on database events that are affected by the Java/JDBC logic. This need stems from the fact that 4GL Triggers are not invoked from application logic that is not written in Progress 4GL.
marian.edu, Since SQL Triggers are also considered a case of Stored Procedure in the world of Progress SQL, I am afraid I conflated the two in my OP.
In fact, the main objective is to use SQL Triggers for database events (INSERT, UPDATE, DELETE...) via JDBC clients. The use case is a parallel to where you would use 4GL database triggers for database events via a 4GL client.
Thanks for pointing me to your JDBC driver. Since one of the core objectives is to get away from Progress licenses and move towards an Open Source strategy, this cannot go in the direction you are suggesting, since that involves maintaining the AppServer license. We will, however, be looking to get the DataDirect JDBC driver.
> On May 16, 2019, at 9:36 AM, v205 wrote:
> We will, however, be looking to get the DataDirect JDBC driver.
the JDBC driver that comes with the OpenEdge RDBMS /is/ the DataDirect driver. if you dont have it already you can download it from ESD at no charge.
@Gus, thank you for pointing that out. I was not sure if they are the same exact driver. Much appreciated.