
David Beavon (Software) asked a question.
What are the chances that Progress adds RI to our databases for the sake of ABL code? Is there even a 1% chance this happens in the next three years?
Most folks who use Progress OE databases are doing it for their data layer. There are many other software layers like UI, agents, services, and even business logic are not necessarily built with OE. As such it makes sense for Progress to invest in the data storage engine for OLTP considerations. In my opinion, RI constraints are one of the most fundamental features of any OLTP storage engine. They are almost the heart of any relational database engine, and they are as important to the as pessimistic record locks or indexes or transaction logging. I don't know of any major database engine that leaves them out. If I google "does database X have RI", they all have it... even SQLite and MSAccess.
The benefit of RI implemented in the native engine are analogous to the CDC change-tracking-triggers that Progress added in the past few years (see OE 11.7.x). We already had a way to use ABL/AVM triggers to accomplish similar goals. Of course the legacy ABL triggers have been available for decades. But even so, it was FAR more performant and robust for Progress to implement this in a central way using native code in the engine itself. If Progress eventually conceded that the OLTP engine is responsible for CDC, then why won't they concede that the engine is responsible for FK constraints too?
I've been waiting since the 80s to see the engine take over things that are rightly the responsibility of the engine. I'm starting to lose hope. The language from the LLM search engines aren't helping matters:
https://www.google.com/search?q=why+openedge+database+has+not+introduced+RI+for+ABL+solutions
... these LLM responses are saying some things that seem overly cautions. Eg.
"Progress OpenEdge has maintained extreme backward compatibility for decades so that older ERPs and massive ABL business applications written in the 1980s and 1990s can run on modern releases without breaking."
I can see the reason for caution. Although RI seems to be the kind of thing that can be introduced without breaking backwards compatibility, since it is defined declaratively and ABL solutions must opt into it.
Some day user forums may allow Gemini to come post an answer, but for now I'll just be the Gemini ambassador. Hard to argue with a well thought-out answer, even if it is from an AI.
Can someone let me know if anyone disagrees with the answer?
Is there even an IDEA for introducing these constraints? I am scared to look, to be honest.
Referential Integrity without relations in the (R)DBMS? I admire your optimism ;-)
At my previous job we built a layer on top of the db schema and tooling and never allowed direct manipulation of the db structure.
Using that layer, which included a code generator, we could (among others) define relations and RI (restrict/cascade/nullify) which resulted in the generation of db triggers. If you can enforce that, and never allow direct db structure manipulation and only access/modify the data through ABL, then you can ensure RI...