[hibernate-dev] clone a lazy-init Object

2009-06-23 Thread Tobias Meyer
Hello List, we ran into a problem with javassist when recently upgrading to hibernate 3.3.1.GA, whid did not occur with the previous cglib implementation. We sometimes make use of the cloneable interface and therefore have declared a public clone() on some objects. If those objects are initi

Re: [hibernate-dev] clone a lazy-init Object

2009-06-23 Thread Steve Ebersole
Note sure what you are actually asking. Sure it seems like incorrect behavior from javassist... On Tue, 2009-06-23 at 15:36 +0200, Tobias Meyer wrote: > Hello List, > > > > we ran into a problem with javassist when recently upgrading to > hibernate 3.3.1.GA, whid did not occur with the pre

AW: [hibernate-dev] clone a lazy-init Object

2009-06-23 Thread Tobias Meyer
I just wanted to make the hibernate team aware of this bug, so that the javassist library shipping with hibernate can be updated on occasion if there are no objections to that change. I was also wondering, if there is a reason one should not use clones of Hibernate-instantiated objects, because

[hibernate-dev] Wrong javadoc in Validator API

2009-06-23 Thread Hardy Ferentschik
Hi, I think there is another error in the Validator javadoc. Probably a cut&paste error * @throws IllegalArgumentException if object is null, if propertyName null, empty * or not a valid object property * or if