[note, I just pulled the latest from CVS and verified this was still a problem]

I *think* I've traced down a bug that prevents the
jdbc to xml reverse engineering from working.  The TorqueJDBCTransformTask.java  has 
the
following line inside the method getTableNames:

tableNames = dbMeta.getTables(null, dbSchema, "%", types);

Executed like this above, the method returns no tables.

However, the correct code should be:

tableNames = dbMeta.getTables(dbSchema, null, "%", types);


Making this correction, and rebuilding corrected the problem and the code
properly mapped my tables.

This applies to other meta data retrieval functions as well, such as getColumns, 
getPrimaryKeys, and getImportedKeys

Regards,
Mark
PS

This is using Sybase JDBC drivers.  I havent tested it against my microsoft db yet, 
but will today.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to