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

Re : How does Liquibase handle Oracle Tables and columns that are "quoted" ?

$
0
0
There are two things to check. 

The first is to check whether the changelog being generated has the correct case. Hopefully it should. Once you have confirmed that, there is an attribute you can apply to individual change sets to set the 'quoting strategy' to be used. Here is an example:
  1.     <changeSet author="steve" created="Fri Jan 29 14:35:41 CST 2016" id="AddNewTable" objectQuotingStrategy="QUOTE_ALL_OBJECTS">
  2.         <createTable schemaName="SCHEMA1" tableName="NewTable">
  3.             <column name="COLUMN1" type="TEXT">
  4.                 <constraints nullable="true" primaryKey="false" unique="false"/>
  5.             </column>
  6.         </createTable>
  7.     </changeSet>
I was just speaking with Nathan (benevolent dictator for life) and he realized there isn't really a way to set that quoting strategy globally on a changelog, so he is going to put that on the list of feature requests. 

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

Viewing all articles
Browse latest Browse all 1169

Trending Articles



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