Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add ability to check version compatibility #430
Comments
|
We could you the same approach Oracle implements with |
|
I'm not sure that the approach from
So that the calling side can either use rule-based version compatibility check or use the version parts individually. |
|
We can introduce constants only for major versions and have 4 numeric constants as you said |
We need a way for the external APIs (like Java) to be able to check if it is compatible, when calling utPLSQL, so that the calling (Java) API can first check if the version that it is depending on is compatible with current version.
That could be done by providing a compatibility check.
ut_run.check_compatibility_with_version( a_version varchar2)The function would return true/false depending on the result of check.
The check would execute the following pseudo-code:
So versions are compatible: