mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-16 16:15:06 +00:00
[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:
parent
3b9fc55ee4
commit
1e48334398
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user