[hibernate-issues] [Hibernate-JIRA] Resolved: (EJB-280) java.lang.NoSuchMethodError: Hibernate EM 3.3.0 breaks Jboss Embedded EJB3 due to method signature change

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu Mar 22 02:36:09 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/EJB-280?page=all ]
     
Emmanuel Bernard resolved EJB-280:
----------------------------------

     Resolution: Duplicate
    Fix Version: 3.3.1

EJB-281

> java.lang.NoSuchMethodError: Hibernate EM 3.3.0 breaks Jboss Embedded EJB3 due to method signature change
> ---------------------------------------------------------------------------------------------------------
>
>          Key: EJB-280
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-280
>      Project: Hibernate Entity Manager
>         Type: Bug

>   Components: EntityManager
>     Versions: 3.3.0.ga
>     Reporter: Allon Rauer
>      Fix For: 3.3.1

>
>
> Jboss Embedded EJB3 relies static method in org.hibernate.ejb.packaging.PersistenceXmlLoader:
> 	public static List<PersistenceMetadata> deploy(URL url, Map overrides, EntityResolver resolver throws Exception
> however this method's signature has been changed to
> 	public static List<PersistenceMetadata> deploy(URL url, Map overrides, EntityResolver resolver,
> 												   PersistenceUnitTransactionType defaultTransactionType) throws Exception
> stacktrace:
> Caused by: java.lang.NoSuchMethodError: org.hibernate.ejb.packaging.PersistenceXmlLoader.deploy(Ljava/net/URL;Ljava/util/Map;Lorg/xml/sax/EntityResolver;)Ljava/util/List;
> 	at org.jboss.ejb3.Ejb3Deployment.initializePersistenceUnits(Ejb3Deployment.java:602)
> 	at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:465)
> 	at org.jboss.ejb3.embedded.EJB3StandaloneDeployer.create(EJB3StandaloneDeployer.java:437)

-- 
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