2009-10-22 4 views
0

liquibase 1.9.5에서 아주 간단한 예제를 실행하려고하는 중입니다. (끝에 있습니다). 내가liquibase - 샘플이 작동하도록하시오

liquibase --changeLogFile=test_sample.xml update 

을 실행하면

는이 오류 메시지가 표시됩니다.

마이그레이션 실패 : ORA-03115 : 지원되지 않는 네트워크 데이터 유형 또는 표현

임 오라클 10g의 XE 10.2.0.1을 사용. 내가 이해하고 (봤 거든), 이것은 쿼리를 준비된 명령문의 실행 메소드에 전달하거나 "무언가"(내 oracle 드라이버를 추측 함) 사용되지 않는 오류입니다.

#liquibase.properties 
driver: oracle.jdbc.driver.OracleDriver 
classpath: ./classes12.zip 
url: jdbc:oracle:thin:@localhost:1521:XE 
username: lb_dev 
password: lb_dev 

어떤 생각 :

내 특성 파일은 다음과 같다?

미리 감사드립니다.

파일 test_sample.xml

<databaseChangeLog 
    xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.6" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.6 
     http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.6.xsd"> 

    <changeSet id="1" author="bob"> 
     <createTable tableName="department"> 
      <column name="id" type="int"> 
       <constraints primaryKey="true" nullable="false"/> 
      </column> 
      <column name="name" type="varchar(50)"> 
       <constraints nullable="false"/> 
      </column> 
      <column name="active" type="boolean" defaultValue="1"/> 
     </createTable> 
    </changeSet> 

</databaseChangeLog> 

답변

3

대신 classes12.zip의

+0

예, 감사합니다 매우를 ojdbc14.jar를 드라이버를 사용해보십시오 :) – Tom

관련 문제