db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Robinson <mark.robin...@mizar.com>
Subject Error from database to DDL
Date Tue, 20 Jan 2009 17:32:59 GMT
Hi All,

I'm trying to do a schema export from my database but I keep getting 
this error.

db.xml:16: Could not read the schema from the specified database: 
Database type Oracle is not supported.

Here is my ant file:

<project default="database-dump">
<path id="runtime-classpath">
  <fileset dir="../public_html/WEB-INF/lib">
    <include name="*.jar"/>
  </fileset>
</path>
<target name="database-dump" description="Dumps the database structure">
  <taskdef name="databaseToDdl"
           classname="org.apache.ddlutils.task.DatabaseToDdlTask">
    <classpath refid="runtime-classpath"/>
  </taskdef>
  <databaseToDdl verbosity="DEBUG" modelName="MyModel"  >
    <database url="jdbc:oracle:thin:@localhost:1521:dev5"
              driverClassName="oracle.jdbc.OracleDriver"
              username="cpc"
              password="cpc"/>

    <writeSchemaToFile outputFile="db-schema.xml"/>
  </databaseToDdl>
</target>
</project>


Does anyone know why this might be happening?  What am I doing wrong?


Mark

-- 
Mark Robinson - Mizar LLC
mark.robinson@mizar.com
111-1010 McKenzie Ave.
Victoria, BC
V8X 4B2
(250) 588-8321


Mime
View raw message