You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Annie Zhang <yh...@netzero.com> on 2002/03/30 02:04:48 UTC

Got a empty schema file while generate schema from jdbc

Hi,  

I have a Oracle DB, and there are some tables under it. When I try to generate the Torque schema.xml, it reports succeed.

D:\annie\PI_OE\gen>ant project-jdbc
Buildfile: build.xml

project-jdbc:
     [echo] JDBC transform
[torque-jdbc] Torque - JDBCToXMLSchema starting
[torque-jdbc]
[torque-jdbc] Your DB settings are:
[torque-jdbc] driver : oracle.jdbc.driver.OracleDriver
[torque-jdbc] URL : jdbc:oracle:thin:@192.9.228.169:1521:oracle
[torque-jdbc] user : piso
[torque-jdbc] password : piso
[torque-jdbc] schema : piso
[torque-jdbc] DB driver sucessfuly instantiated
[torque-jdbc] DB connection established
[torque-jdbc] Getting table list...
[torque-jdbc] Building column/table map...
[torque-jdbc]
[torque-jdbc] Torque - JDBCToXMLSchema finished

BUILD SUCCESSFUL

Total time: 4 seconds



But when I open the generated schema.xml file, It's empty, only a few lines in it. What's the problem????   

<?xml version="1.0"?>
<!DOCTYPE app-data SYSTEM "http://jakarta.apache.org/turbine/dtd/database.dtd">
<!-- Autogenerated by JDBCToXMLSchema! -->
<app-data>
    <database/>
</app-data>


Annie

Re: Got a empty schema file while generate schema from jdbc

Posted by Annie Zhang <yh...@netzero.com>.
----- Original Message -----
From: "Annie Zhang" <yh...@netzero.com>
To: <tu...@jakarta.apache.org>
Sent: Friday, March 29, 2002 5:04 PM
Subject: Got a empty schema file while generate schema from jdbc


Hi,

I have a Oracle DB, and there are some tables under it. When I try to
generate the Torque schema.xml, it reports succeed.

D:\annie\PI_OE\gen>ant project-jdbc
Buildfile: build.xml

project-jdbc:
     [echo] JDBC transform
[torque-jdbc] Torque - JDBCToXMLSchema starting
[torque-jdbc]
[torque-jdbc] Your DB settings are:
[torque-jdbc] driver : oracle.jdbc.driver.OracleDriver
[torque-jdbc] URL : jdbc:oracle:thin:@192.9.228.169:1521:oracle
[torque-jdbc] user : piso
[torque-jdbc] password : piso
[torque-jdbc] schema : piso
[torque-jdbc] DB driver sucessfuly instantiated
[torque-jdbc] DB connection established
[torque-jdbc] Getting table list...
[torque-jdbc] Building column/table map...
[torque-jdbc]
[torque-jdbc] Torque - JDBCToXMLSchema finished

BUILD SUCCESSFUL

Total time: 4 seconds



But when I open the generated schema.xml file, It's empty, only a few lines
in it. What's the problem????

<?xml version="1.0"?>
<!DOCTYPE app-data SYSTEM
"http://jakarta.apache.org/turbine/dtd/database.dtd">
<!-- Autogenerated by JDBCToXMLSchema! -->
<app-data>
    <database/>
</app-data>


Annie



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>