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

Gail Badner (JIRA) noreply at atlassian.com
Tue Aug 16 14:50:03 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gail Badner resolved HHH-6284.
------------------------------

    Resolution: Rejected
      Assignee: Gail Badner

Starting with 3.6, Hibernate Annotations is incorporated into Hibernate Core, so the old hibernate-annotations jar should not be included.

> 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
>            Assignee: Gail Badner
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list