Вопрос

As mentioned in the tilte, I wonder if the sql code provided between the sql tag in Liquibase changeset is independent of the database type.I mean, is it refactored before executed to different DB Type ?

Thanks.

Это было полезно?

Решение

Whatever SQL code you put in is what is executed - Liquibase does not attempt to "translate" SQL from one database dialect to another. If you need custom SQL that works on multiple database platforms, you would need to write multiple custom sql changes and tag each one with the database that it applies to.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top