db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bogdan Vatkov" <bvat...@globaltech-bg.com>
Subject MSSQL JDBC reverse ?
Date Wed, 17 Dec 2003 14:58:09 GMT
Hi all,

I have tried to reverse xml schema from ms sql server via jdbc target..
and no tables reversed ..(they actually exist in the db server)
the result is this :
no error but no table in the result xml

H:\PROJECTS\java\OldFKSUOrganizer\torque-gen-3.1>ant jdbc
Buildfile: build.xml

     [echo] +-----------------------------------------------+
     [echo] |                                               |
     [echo] | Generating XML from JDBC connection !         |
     [echo] |                                               |
     [echo] +-----------------------------------------------+
[torque-jdbc-transform] Torque - JDBCToXMLSchema starting
[torque-jdbc-transform] Your DB settings are:
[torque-jdbc-transform] driver : com.microsoft.jdbc.sqlserver.SQLServerDriver
[torque-jdbc-transform] URL : jdbc:microsoft:sqlserver://dm2:1433;DatabaseName=u
[torque-jdbc-transform] user : um
[torque-jdbc-transform] schema : ${databaseSchema}
[torque-jdbc-transform] DB driver sucessfuly instantiated
[torque-jdbc-transform] DB connection established
[torque-jdbc-transform] Getting table list...
[torque-jdbc-transform] Building column/table map...
[torque-jdbc-transform] ./schema/schema.xml
[torque-jdbc-transform] Torque - JDBCToXMLSchema finished

Total time: 2 seconds

xml is:

<?xml version="1.0"?>                                                              
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database_3_1.dtd">      
<!-- Autogenerated by JDBCToXMLSchema! -->                                         

any suggestions ?

with best regards,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message