Details
Description
Assuming TORQUE-40 is resolved - the JDBC task would throw an exception if it is examining a sybase database with views.
com.sybase.jdbc3.jdbc.SybSQLException: No such object or user exists in the database.
...
at org.apache.torque.task.TorqueJDBCTransformTask.getForeignKeys(TorqueJDBCTransformTask.java:488)
...
This happens because the JDBC driver in Sybase seems to not support foreign keys in views. A workaround for this would be to catch exceptions in org.apache.torque.task.TorqueJDBCTransformTask#getForeignKeys() and return an empty list (or collection). With this fix it would be possible to generate a schema.xml