Deployment of custom Hibernate 4 version within EAR in EAP 6

Solution Verified - Updated -

Issue

  • Deploy a custom version of a JPA 2.0 compliant Hibernate 4 release (e.g. 4.2.8.Final) packaged within an EAR
  • ClassCastException thrown when deploying custom Hibernate 4
    • In the jboss-deployment-structure.xml the module org.hibernate has been excluded

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content