[hibernate-commits] Hibernate SVN: r14239 - core/branches/Branch_3_2/src/org/hibernate/mapping.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Sun Dec 9 14:05:38 EST 2007


Author: d.plentz
Date: 2007-12-09 14:05:38 -0500 (Sun, 09 Dec 2007)
New Revision: 14239

Modified:
   core/branches/Branch_3_2/src/org/hibernate/mapping/SimpleValue.java
Log:
[HHH-2048] Incomplete MappingException at org.hibernate.mapping.SimpleValue

Modified: core/branches/Branch_3_2/src/org/hibernate/mapping/SimpleValue.java
===================================================================
--- core/branches/Branch_3_2/src/org/hibernate/mapping/SimpleValue.java	2007-12-08 04:22:44 UTC (rev 14238)
+++ core/branches/Branch_3_2/src/org/hibernate/mapping/SimpleValue.java	2007-12-09 19:05:38 UTC (rev 14239)
@@ -260,6 +260,9 @@
 		Type result = TypeFactory.heuristicType(typeName, typeParameters);
 		if (result==null) {
 			String msg = "Could not determine type for: " + typeName;
+			if(table != null){
+				msg += ", at table: " + table.getName();
+			}
 			if(columns!=null && columns.size()>0) {
 				msg += ", for columns: " + columns;
 			}




More information about the hibernate-commits mailing list