简体   繁体   中英

liquibase hsql db column creation error

i am using hsql db and liquibase to create a db schema and the liquibase script am using is giving an error

<changeSet author="fryder" id="1492138266795-903">
        <createIndex indexName="ACCESS_GRP_IDX" tableName="ACCESS_GRP">
            <column computed="true" name="UPPER(&quot;DESCR&quot;)"/>
        </createIndex>
    </changeSet>

cvc-complex-type.3.2.2: Attribute 'computed' is not allowed to appear in element 'column'. -> [Help 1] plz help, note:- i created the schema defnition using liquibase generatechangelog method.

so for the people looking for answer. HSQL db is not a fullfledged relational-db with all functions equal to oracle. removed UPPER(".. and the statement worked.

did you try with H2 ? it often has a more complete support of such features

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM