[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6284) Hibernate Core 3.6.4 Conflict org.hibernate.type.WrappedMaterializedBlobType

Aloke (JIRA) noreply at atlassian.com
Thu Jun 2 14:43:24 EDT 2011


Hibernate Core 3.6.4 Conflict org.hibernate.type.WrappedMaterializedBlobType 
-----------------------------------------------------------------------------

                 Key: HHH-6284
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6284
             Project: Hibernate Core
          Issue Type: Bug
          Components: core
    Affects Versions: 3.6.4
         Environment: Solaris x86, Tomcat, Apache, Hibernate-Core 3.6.4, Hibernate-Annotation 3.5.6-Final
            Reporter: Aloke



While upgrading Hibernate from 3.5.6-Final to 3.6.4.Final I got an java.lang.Verifier Exception on org.hibernate.type.WrappedMaterializedBlobType. I executed my service using SOAPUI

It seems there is a conflict between Hibernate-Core and Hibernate-Annotations jar file. The conflict is on the package.Class org.hibernate.type.WrappedMaterializedBlobType.class

I think the line it fails is on
public static final WrappedMaterializedBlobType INSTANCE = new WrappedMaterializedBlobType();

with a message 
"</pre></p><p><b>root cause</b> <pre>java.lang.VerifyError: class org.hibernate.type.WrappedMaterializedBlobType overrides final method getReturnedClass.()Ljava/lang/Class;"



To reproduce do the following:
1. Use Hibernate-Core 3.6.4.Final with Hibernate-Annotation-3.5.6-Final.  
2. Call a web service using SOAPUI. 

Note: Its Hibernate-Annotations and not Hibernate-Commons-Annotations

It looks like classes in Hibernate-Annotations (org.hibernate.type) have been deprecated:
AbstractLobType.class
ByteArrayBlobType.class
ByteArrayBlobType.class
PrimitiveByteArrayBlobType.class

where as WrappedMaterializedBlobType.class is not. 

I have currently removed Hibernate-Annotation.jar to avoid this issue. 

Thanks. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list