Re: [Hibernate] A posible problem with Annotations and BLOBS

2005-08-16 Thread Emmanuel Bernard
Fixed, thanks. Pablo Nussembaum wrote: I found this code in the class AnnotationBinder at line 1110 code: else if ( returnedClass instanceof Serializable ) { this check always returns true because a Class object is always serializable. I change this way: Code: else if ( Serializable.class.is

[Hibernate] A posible problem with Annotations and BLOBS

2005-08-16 Thread Pablo Nussembaum
I found this code in the class AnnotationBinder at line 1110 code: else if ( returnedClass instanceof Serializable ) { this check always returns true because a Class object is always serializable. I change this way: Code: else if ( Serializable.class.isAssignableFrom(returnedClass) ) { -- Pab