[hibernate-commits] Hibernate SVN: r11206 - branches/Branch_3_2/HibernateExt/annotations/src/java/org/hibernate/cfg.
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Wed Feb 14 00:25:45 EST 2007
Author: epbernard
Date: 2007-02-14 00:25:44 -0500 (Wed, 14 Feb 2007)
New Revision: 11206
Modified:
branches/Branch_3_2/HibernateExt/annotations/src/java/org/hibernate/cfg/OneToOneSecondPass.java
Log:
ANN-554 avoid an NPE in failing case
Modified: branches/Branch_3_2/HibernateExt/annotations/src/java/org/hibernate/cfg/OneToOneSecondPass.java
===================================================================
--- branches/Branch_3_2/HibernateExt/annotations/src/java/org/hibernate/cfg/OneToOneSecondPass.java 2007-02-14 02:47:15 UTC (rev 11205)
+++ branches/Branch_3_2/HibernateExt/annotations/src/java/org/hibernate/cfg/OneToOneSecondPass.java 2007-02-14 05:25:44 UTC (rev 11206)
@@ -196,7 +196,7 @@
throw new AnnotationException(
"Referenced property not a (One|Many)ToOne: "
+ StringHelper.qualify(
- value.getReferencedEntityName(), value.getReferencedPropertyName()
+ otherSide.getEntityName(), mappedBy
)
+ " in mappedBy of "
+ StringHelper.qualify( ownerEntity, ownerProperty )
More information about the hibernate-commits
mailing list