Hi, I am relatively new to liquibase.
I started testing Liquibase Open Source (4.8.0) if all the supported objects can be actually generated using an Oracle 19 DB.
I got stuck with procedures and would like to know if I am doing something wrong or if actually something is wrong.
So my failing test case is that I created a table and a procedure that adds data to this table when called.
When I generate the changelog the procedure is always missing and I am out of ideas on what to try and where to look for examples or help.
test setup:
liquibase 4.8.0 portable on Win10
Oracle Virtual Lab Oracle 19 database in VirtualBox (Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.3.0.0.0)
Somewhere I read that someone solved a similar issue by using a trial-pro-key.
Here also similar info is given: 4783
But in the official documentation ‘procedure’ is not marked as PRO or listed among pro features but community features. change-types
SQL:
CREATE TABLE T_CICD_USER2 (
USER_ID VARCHAR2(20 BYTE) NOT NULL,
USER_NAME VARCHAR2(20 BYTE),
CHNG_DATE TIMESTAMP(6) DEFAULT CURRENT_TIMESTAMP NOT NULL,
CHNG_ID VARCHAR2(20 BYTE) NOT NULL);
create or replace PROCEDURE P_FILL_T_CICD_USER2 AS
BEGIN
insert into t_cicd_user2 (chng_date, chng_id, user_name,user_id) values
(
current_timestamp,
dbms_random.string('U', 20),
dbms_random.string('U', 20),
dbms_random.string('U', 20)
) ;
END P_FILL_T_CICD_USER2;
Hi daryldoak, thanks for your hint! I wonder how I was able to overlook it before…
Anyways, it’s still totally confusing to me to get a clear picture of the functional difference between Liquibase Open Source and pro edition.
The documentation also just says that special folders will be created using PRO but it is not that clear that general support of the change types is also included.
In the documentation also ‘view’ is listed under PRO features for generateChangeLog. But when I checked again just now it actually seems to be included in Liquibase Open Source. Can you help me to understand where I am wrong?
I also noticed when using the PRO key that no folder for views is created in the objects folder structure.
citation from docu:
Additional functionality with Liquibase Pro
While Liquibase Open Source stores all changesets in a changelog, Liquibase Pro creates a directory called Objects and places the directory at the same level as your changelog. The Objects directory contains a subdirectory for each of the following stored logic types:
package
packagebody
function
stored procedure
trigger
view
generated code with Liquibase Open Source Version 4.8.0:
hi, just referenced my older post before deleting it because I can’t edit it. I forgot to change one internal user name and seems that I can’t edit the post anymore. So here is the cleaned reference instead.