Ok. I will move this discussion to the users group.
I understand that it sounds reasonable to have a null check but the
important point is that it has broken backwards compatibility. Any thoughts
on that?


On Thu, May 8, 2014 at 7:07 PM, Steve Ebersole <st...@hibernate.org> wrote:

> 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...@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@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>
>
>
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to