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

Re : GenerateChangelog fails due to bad sql

$
0
0
It looks like the query is coming from a select statement liquibase runs to determine if a column is auto-increment or not. It should be a simple "select X from Y where 0=1" query. I added logging of the statement in the code for 3.0.4, but I'm not sure what the problem would be now. The column names should be escaped as well, so it should even handle crazy columns or tables with "("s in them.

Any chance you have any strangely named tables or columns?

Nathan

Viewing all articles
Browse latest Browse all 2993

Trending Articles



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