[hibernate-commits] Hibernate SVN: r11051 - trunk/Hibernate3/src/org/hibernate/cfg.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Tue Jan 16 18:24:17 EST 2007


Author: epbernard
Date: 2007-01-16 18:24:17 -0500 (Tue, 16 Jan 2007)
New Revision: 11051

Modified:
   trunk/Hibernate3/src/org/hibernate/cfg/Mappings.java
Log:
synchronize branch_3_2 and head

Modified: trunk/Hibernate3/src/org/hibernate/cfg/Mappings.java
===================================================================
--- trunk/Hibernate3/src/org/hibernate/cfg/Mappings.java	2007-01-16 23:22:50 UTC (rev 11050)
+++ trunk/Hibernate3/src/org/hibernate/cfg/Mappings.java	2007-01-16 23:24:17 UTC (rev 11051)
@@ -490,7 +490,8 @@
 		}
 		while (finalName == null && currentTable != null);
 		if (finalName == null) {
-			throw new MappingException( "Unable to find column with logical name: " + table.getName() + "." + logicalName);
+			throw new MappingException( "Unable to find column with logical name "
+					+ logicalName + " in table " + table.getName() );
 		}
 		return finalName;
 	}
@@ -510,8 +511,8 @@
 		}
 		while (logical == null && currentTable != null && description != null);
 		if (logical == null) {
-			throw new MappingException( "Unable to find logical column name from physical name: "
-					+ table.getName() + "." + physicalName );
+			throw new MappingException( "Unable to find logical column name from physical name "
+					+ physicalName + " in table " + table.getName() );
 		}
 		return logical;
 	}




More information about the hibernate-commits mailing list