gavin wrote:
Are you telling me you wrote your application code to depend on net.sf.hibernate.collection.Set? An internal implentation class?
Not now, I was "prototyping" some code and it was working in Hibernate 2 by providing a wrapper extending the Hibernate2 net.sf.collection.Set .
You told me tha hibernate 3 allow the UserCollectionType: I need this functionality. My UserCollectionType should allow me to filter the collection adding something like HQL "where" tokes.
My UserCollectionType should allow me to do this method:
public Iterator iterate(String hqlwherecondition)
My prototype in H2 worked by extending Set that has a similar iterate method (I simply create a proxy that change the my hqlwherecondition in "from this where "+hqlwherecondition and it worked.