Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get the output SQL from a Liquibase changeset

I'm having a SQL syntax error when my Spring Boot application tries to start. It cannot instantiate the SpringLiquibase bean, because the outputed SQL of a changeset is leading to a syntax error. I need to check the SQL generated from Liquibase in order to find what's wrong. How can I do that?

like image 610
fvdalcin Avatar asked Feb 20 '15 19:02

fvdalcin


Video Answer


1 Answers

You can try liquibase updateSQL command

  • http://www.liquibase.org/documentation/command_line.html
  • http://www.liquibase.org/documentation/update.html
like image 170
user1030367 Avatar answered Sep 28 '22 09:09

user1030367