Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Edition Based Redefinition from Oracle and liquibase plugin 3.8.1

$
0
0
Hello

I would like to specify the edition from oracle, it means, before doing any change in the database I have to execute ALTER SESSION SET EDITION = <name_of_edition>. Is there any way to do this usin the liquibase-maven-plugin?
I'm using the latest version 3.8.1

I've tried to add an sql file to my path
   <changeSet author="liquibase-docs"
           id="createProcedure-testHello2">
       <createProcedure
            path="altersession1.sql">CREATE OR REPLACE PROCEDURE testHello2
                     IS
                     BEGIN
                        DBMS_OUTPUT.PUT_LINE('Hello From The Database!');
                     END;
        </createProcedure>
    </changeSet>

I have the following error:
 Attribute 'path' is not allowed to appear in element 'createProcedure'


I've tried the same in yaml format, but it is not creating the stored procedure in the database, even though it seems to run properly.
Any clue how I can do this?

Thanks

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>