Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Sybase only?
Description
In BdLoader, loadDbRelationships,
(line 460) ResultSet rs =
getMetaData().getExportedKeys(
pkEntity.getCatalog(),
pkEntity.getSchema(),
pkEntity.getName());
will cause an exception to be thrown for (I think just) views. There are a couple of possible fixes – one can put a try/catch aroung the above statement and check the error for something other than "No such object or user exists in the database" (may be Sybase specific) or Skip all views or skip all tables with no primary keys. (Not sure which if any of these are good fixes.)
Joe