[hibernate-dev] Session.evict does not allow nulls after upgrade
amit shah
amits.84 at gmail.com
Fri May 9 01:01:26 EDT 2014
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 <steve at 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.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