Java Mailing List Archive

http://www.gg3721.com/

Home » the NHibernate development list »

Re: [NHibernate-development] Patch: fix IsEqual for binary blobs
 (andpossibly other  NullableTypes)

Richard Brown

2008-04-25

Replies: Find Java Web Hosting

Author LoginPost Reply

As per:

http://jira.nhibernate.org:8080/jira/browse/NH-1246
and
http://jira.nhibernate.org:8080/jira/browse/NH-1286


----- Original Message -----
From: "Jan Oravec" <jan.oravec@(protected)>
To: "the NHibernate development list"
<nhibernate-development@(protected)>
Sent: Friday, April 25, 2008 12:45 PM
Subject: [NHibernate-development] Patch: fix IsEqual for binary blobs
(andpossibly other NullableTypes)


Hi,


The attached patch fixes problem with binary blobs, that every read
triggers update when session is flushed.

The problem was that AbstractType's IsEqual() was not overriden by
NullableType, which defines other IsEqual() which was never called.
Other types, like BinaryBlobType, relies on overriding IsEqual() defined
in NullableType.

The patch is against SVN HEAD.


Jan




--------------------------------------------------------------------------------


> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone


--------------------------------------------------------------------------------


> _______________________________________________
> Nhibernate-development mailing list
> Nhibernate-development@(protected)
> https://lists.sourceforge.net/lists/listinfo/nhibernate-development
>


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nhibernate-development mailing list
Nhibernate-development@(protected)
https://lists.sourceforge.net/lists/listinfo/nhibernate-development
©2008 gg3721.com - Jax Systems, LLC, U.S.A.