Thanks Brad, I see that SortedMap was similarly broken.

P.S. We are in feature freeze / bugfix mode right now, so this is exactly
the sort of thing we should be looking out for...


----- Original Message -----
From: Brad Clow
To: [EMAIL PROTECTED]
Sent: Tuesday, September 17, 2002 9:27 PM
Subject: [Hibernate] SortedSets not being sorted bug



yesterday i moved from using version 1.1-b6 to 1.1-rc2 and found that
SortedSets were no longer sorted.  i have fixed this and commited it to cvs.
i have also added two assertions to the testPersistCollections() method in
FooBarTest to test that SortedSets r actually sorted.

the fix simply involved adding the CollectionPersister argument to the
beforeInitialize method in cirrus.hibernate.collections.SortedSet so that
the method reflected the signature of the abstract method defined in it's
super (abstract) class cirrus.hibernate.collections.PersistenctCollection.

brad



-------------------------------------------------------
Sponsored by: AMD - Your access to the experts on Hammer Technology! 
Open Source & Linux Developers, register now for the AMD Developer 
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to