[ http://issues.apache.org/jira/browse/TORQUE-40?page=all ]
Thomas Fischer resolved TORQUE-40.
----------------------------------
Fix Version/s: 3.2
Resolution: Invalid
> jdbc task fails on sybase database (schema is set)
> --------------------------------------------------
>
> Key: TORQUE-40
> URL: http://issues.apache.org/jira/browse/TORQUE-40
> Project: Torque
> Issue Type: Bug
> Components: Generator
> Affects Versions: 3.2
> Environment: Sybase ASE 12.5
> jConnect for JDBC 2.0 v5.5 Build 25137 or v6.05 Build 25828
> Java Tds Server Classes v5.5 Build 25138 or v6.0 Build 25828
> Reporter: Thoralf Rickert
> Assigned To: Thomas Fischer
> Fix For: 3.2
>
>
> The Sybase JDBC driver doesn't expect a parameter for databaseSchema in
> DatabaseMetaData.getTables(String catalog, String schemaPattern, String
> tableNamePattern, String[] types)
> DatabaseMetaData.getColumns(String catalog, String schemaPattern, String
> tableNamePattern, String columnNamePattern)
> DatabaseMetaData.getPrimaryKeys(String catalog, String schema, String table)
> DatabaseMetaData.getImportedKeys(String catalog, String schema, String table)
> If it is set to something else than null the methods return nothing. So
> please add the following fix (pseudo code):
> public void execute() throws BuildException
> {
> ....
> if (config("torque.database.type").equals("sybase"))
> {
> dbSchema = null;
> }
> ...
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]