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

Re : Creating/replacing packages using Liquibase

$
0
0
Hello,

I hope you have answer your pbm, but in case I will give my experience with packages on Oracle database with liquibase ^^

Initialy, I had one sql file that create all my packages for each single user (one sql file per user, but x packages, functions or prec per user).

I had losts of errors, so I decided to split these sql files on package (header and body splitted) and one file per function / proc (best uses from liquibase site).

... but still had some errors on packages !

So finally, I end up with the following (see : https://www.zohodiscussions.com/liquibase#Topic/49382000001902001)

1) sql file and changelog files in UTF8 (explicitely)
2) only one endDelimiter per SQL file : "/" in a single line and with new line before and after
3) oracle enDelimiter added in <sqlFile> tag
4) trip comment = "true" and splitStatement="false"

as said, it was harsh to find the perfect balance, but now it works fine.

Hope this could help

regards


Viewing all articles
Browse latest Browse all 2993

Trending Articles



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