[hibernate-dev] Session.evict does not allow nulls after upgrade

Steve Ebersole steve at hibernate.org
Thu May 8 09:37:10 EDT 2014


This list is for discussions about the development of Hibernate, not for
usage discussions.

The behavior you describe sounds the most reasonable to me actually, tbh.
 Also, generic code can (should, I'd argue) still do null checks...


On Thu, May 8, 2014 at 6:51 AM, amit shah <amits.84 at gmail.com> wrote:

> We upgraded hibernate from 3.6.0 to 4.3.5 but the application fails if null
> is passed to Session.evict()
> The application passes null since the code is generic.
>
> Are there any alternatives?
>
> Thanks,
> Amit.
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>


More information about the hibernate-dev mailing list