[
http://opensource.atlassian.com/projects/hibernate/browse/EJB-280?page=co...
]
Emmanuel Bernard commented on EJB-280:
--------------------------------------
Sorry I saw your post after i created mine and fixed it :-)
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira