Permalink
Browse files

HHH-7969 more jpa index binding

  • Loading branch information...
1 parent f5d74a5 commit 7c9eae9eb903454e61b8d76dbdd8171b579e1f47 @stliu committed Feb 6, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
@@ -334,8 +334,8 @@ public Type getType() throws MappingException {
createParameterImpl();
}
- type = mappings.getTypeResolver().heuristicType( typeName, typeParameters );
- if ( type == null ) {
+ Type result = mappings.getTypeResolver().heuristicType( typeName, typeParameters );
+ if ( result == null ) {
String msg = "Could not determine type for: " + typeName;
if ( table != null ) {
msg += ", at table: " + table.getName();
@@ -345,7 +345,7 @@ public Type getType() throws MappingException {
}
throw new MappingException( msg );
}
- return type;
+ return result;
}
@SuppressWarnings("unchecked")

0 comments on commit 7c9eae9

Please sign in to comment.