diff --git a/hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java b/hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java index 3db302a5d4..b1c9790f24 100644 --- a/hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java +++ b/hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java @@ -499,7 +499,7 @@ public class SimpleValue implements KeyValue { throw new MappingException( msg ); } - return result; + return type = result; } @Override