HHH-8670 is about EntityManager.find() not returning null when a runtime exception is caught when performing the find(). Returning null when a ClassCastException (or any other runtime exception) occurs seems confusing to me, but I suppose that we could log a DEBUG warning (like we did for EntityNotFoundException).
Does anyone disagree with changing Hibernate ORM to return null when a runtime exception is caught during the EntityManager.find() operation? Scott _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev