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

Re : Creating a view using code.

$
0
0
OK, if I understand correctly, you are creating the changelog using java code? If so, please understand that yours is a fairly unusual situation. I don't know of anyone else doing that.

In that case, yes, you should be using the CreateViewChange class, and you can set the select part of the change by calling CreateViewChange.setSelectQuery. When Liquibase serializes the change to XML, this value will be written to the correct location.

Steve Donie
Principal Software Engineer
Datical, Inc. http://www.datical.com/

Viewing all articles
Browse latest Browse all 2993

Trending Articles



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