Hi Tomáš Müller ,
i tried your test with Hibernate 4.3.11 and it throws java.lang.NullPointerException: Cannot invoke "Object.hashCode()" because "value" is null