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

Inserting a CLOB

$
0
0
I need to insert a CLOB in a table.
Base on the Forum information
  1.     <changeSet id="MyChangeSet" author="Me" context="ALL">
  2. <comment>Create a new record for a CLOB</comment>
  3.         <insert tableName="XML">
  4. <column name="ID" value="MyID" />
  5. <column name="TYPE" value="IMAGE"  />
  6.             <column name="ENTITY" valueClob="clob/Image.png" type="CLOB" />
  7.         </insert>
  8.     </changeSet>

This generates exceptions :
  1. [INFO] --- liquibase-maven-plugin:2.0.5:update (default-cli) @ ForHrm-DAO ---
  2. [INFO] ------------------------------------------------------------------------
  3. [INFO] Executing on Database: jdbc:oracle:thin:@LOCALHOST:1521:FCTST
  4. INFO 5/12/13 18:44:liquibase: Successfully acquired change log lock
  5. SEVERE 5/12/13 18:44:liquibase: cvc-complex-type.3.2.2 : L'attribut 'valueClob' n'est pas autorisÚ dans l'ÚlÚment 'column'.

Any idea ?

\T,


Viewing all articles
Browse latest Browse all 2993

Trending Articles



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