DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12842>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12842

TorqueJDBCTransformTask 3.0b4 bug





------- Additional Comments From [EMAIL PROTECTED]  2002-09-20 05:13 -------
Last post on this for tonight:

I confirmed the following lines to be problematic for both MSSQL and Sybase.

tableNames = dbMeta.getTables(null, dbSchema, "%", types);           
columnSet = dbMeta.getColumns(null, dbSchema, tableName, null);
parts = dbMeta.getPrimaryKeys(null, dbSchema, tableName);
foreignKeys = dbMeta.getImportedKeys(null, dbSchema, tableName);

Now, it may be a version problem, or it may be a end-user db problem, Im not 
sure...  But the jdbc spec for each of these functions calls for the Catalog 
name followed by the Schema name...  Changing each of these functions above by 
swapping the 'null, dbSchema' to 'dbSchema, null' resolved the non-functioning 
code.

Rather than use null, i suggest adding a catalog directive to the 
build.properties file and calling the functions with both catalog and schema 
parameters.

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

Reply via email to