db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fischer (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (TORQUE-40) jdbc task fails on sybase database (schema is set)
Date Sat, 15 Jul 2006 07:38:15 GMT
     [ http://issues.apache.org/jira/browse/TORQUE-40?page=all ]

Thomas Fischer reopened TORQUE-40:
----------------------------------

      Assignee: Thomas Fischer
             

> 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: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message