Author: max.andersen(a)jboss.com
Date: 2006-11-30 05:31:29 -0500 (Thu, 30 Nov 2006)
New Revision: 10886
Modified:
branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/cfg/reveng/JDBCReader.java
Log:
log
Modified:
branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/cfg/reveng/JDBCReader.java
===================================================================
---
branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/cfg/reveng/JDBCReader.java 2006-11-30
10:03:47 UTC (rev 10885)
+++
branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/cfg/reveng/JDBCReader.java 2006-11-30
10:31:29 UTC (rev 10886)
@@ -192,14 +192,14 @@
String pkColumnName = (String) exportedKeyRs.get("PKCOLUMN_NAME");
String fkName = (String) exportedKeyRs.get("FK_NAME");
short keySeq = ((Short)exportedKeyRs.get("KEY_SEQ")).shortValue();
-
- log.debug("foreign key name: " + fkName);
Table fkTable = dbs.getTable(fkSchema, fkCatalog, fkTableName);
if(fkTable==null) {
// filter out stuff we don't have tables for!
log.debug("Foreign key " + fkName + " references unknown or filtered
table " + Table.qualify(fkCatalog, fkSchema, fkTableName) );
continue;
+ } else {
+ log.debug("Foreign key " + fkName);
}
// TODO: if there is a relation to a column which is not a pk
Show replies by date