Author: epbernard
Date: 2006-11-29 10:18:34 -0500 (Wed, 29 Nov 2006)
New Revision: 10880
Modified:
trunk/Hibernate3/src/org/hibernate/mapping/DenormalizedTable.java
Log:
ANN-473 unique constraint on TABLE_PER_CLASS
Modified: trunk/Hibernate3/src/org/hibernate/mapping/DenormalizedTable.java
===================================================================
--- trunk/Hibernate3/src/org/hibernate/mapping/DenormalizedTable.java 2006-11-29 15:17:28
UTC (rev 10879)
+++ trunk/Hibernate3/src/org/hibernate/mapping/DenormalizedTable.java 2006-11-29 15:18:34
UTC (rev 10880)
@@ -34,6 +34,16 @@
}
}
+ public Column getColumn(Column column) {
+ Column superColumn = super.getColumn( column );
+ if (superColumn != null) {
+ return superColumn;
+ }
+ else {
+ return includedTable.getColumn( column );
+ }
+ }
+
public Iterator getColumnIterator() {
return new JoinedIterator(
includedTable.getColumnIterator(),
Show replies by date