« Return to Thread: Changelog parameters

Re: Changelog parameters

by jfrapper :: Rate this Message:

Reply to Author | View in Thread

Hi Nathan,

I tried it with underscores and also just using the two words together, for example schemaname.  Neither attempt worked.  The liquibase.bat just doesn't like my properties.  Is there any other information I can provide?  Here is a sample changeset:

    <changeSet author="(generated)" id="1234295864339-1">
        <createTable schemaName="${schemaname}" tablespace="${tablespace.data}" tableName="AUDIT_LOG">
            <column name="AUDIT_LOG_ID" type="NUMBER(22,0)">
                <constraints nullable="false"/>
            </column>
            <column name="ENTITY_ATTRIBUTE" type="VARCHAR2(50)"/>
            <column name="ENTITY_ID" type="NUMBER(22,0)"/>
            <column name="ENTITY_NAME" type="VARCHAR2(50)"/>
            <column name="MESSAGE" type="VARCHAR2(255)"/>
            <column name="UPDATED_BY" type="VARCHAR2(50)"/>
            <column name="OLD_VALUE" type="CLOB"/>
            <column name="NEW_VALUE" type="CLOB"/>
            <column defaultValueDate="sysdate" name="UPDATED_DATE" type="TIMESTAMP(6)"/>
        </createTable>
    </changeSet>

Again, it works fine from ant, but not the command line.

Cheers,
JF

Voxland, Nathan wrote:
The dots in the properties may be throwing it off.  What if you try it  
with underscores?

Nathan

 « Return to Thread: Changelog parameters