Details
Description
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"))
...
}