[hibernate-commits] Hibernate SVN: r12789 - trunk/HibernateExt/annotations/src/java/org/hibernate/cfg/annotations.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Fri Jul 20 16:34:47 EDT 2007


Author: epbernard
Date: 2007-07-20 16:34:47 -0400 (Fri, 20 Jul 2007)
New Revision: 12789

Modified:
   trunk/HibernateExt/annotations/src/java/org/hibernate/cfg/annotations/EntityBinder.java
Log:
ANN-637 Table.appliesTo wrongly apply to the last table when no matching table exists

Modified: trunk/HibernateExt/annotations/src/java/org/hibernate/cfg/annotations/EntityBinder.java
===================================================================
--- trunk/HibernateExt/annotations/src/java/org/hibernate/cfg/annotations/EntityBinder.java	2007-07-20 20:32:29 UTC (rev 12788)
+++ trunk/HibernateExt/annotations/src/java/org/hibernate/cfg/annotations/EntityBinder.java	2007-07-20 20:34:47 UTC (rev 12789)
@@ -750,6 +750,7 @@
 				//we are in the correct table to find columns
 				break;
 			}
+			hibTable = null;
 		}
 		if ( hibTable == null ) {
 			throw new AnnotationException(




More information about the hibernate-commits mailing list