[hibernate-issues] [Hibernate-JIRA] Created: (EJB-280) java.lang.NoSuchMethodError: Hibernate EM 3.3.0 breaks Jboss Embedded EJB3 due to method signature change
Allon Rauer (JIRA)
noreply at atlassian.com
Wed Mar 21 19:29:09 EDT 2007
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
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