dimas wrote:
Also, I do not think Max is right here because from exception stack trace it looks like Hibernate fails somewhere in the configuration code. This is not about collections. (Well, it is not about Hibernate collections. Java Collections framework is involved of course).
I would suggest you trying Hibernate 2.1 first because it is possible this problem is already fixed.
I *meant* java.util.Collection's, not Hibernates collections ;)
And bliu_ditech, if your application is so big that you cannot pinpoint the problem then we will have a hard time helping ya' ;)
Especially since the error then most likely is at your side because of the higher complexity. Please try to reproduce the error in a SMALL test program. This should not be hard if the problem is consistently failing. Is it failing everytime ?