[HHH-2048] Incomplete MappingException at org.hibernate.mapping.SimpleValue

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@12742 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Diego Plentz 2007-07-08 01:20:59 +00:00
parent 3b9fc55ee4
commit 1e48334398

View File

@ -260,6 +260,9 @@ public Type getType() throws MappingException {
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;
}