[
https://jira.jboss.org/jira/browse/JBESB-2572?page=com.atlassian.jira.plu...
]
Kevin Conner commented on JBESB-2572:
-------------------------------------
Hibernate is obtaining the information from the correct context classloader but this
defers to the repository and, therefore, picks up the META-INF/orm.xml which is already
present.
This just happens to be the drools one but could, in reality, be any resource exposed
globally.
Impossible to hot deploy EJB3 with JPA annotations on a JBossESB
installation
-----------------------------------------------------------------------------
Key: JBESB-2572
URL:
https://jira.jboss.org/jira/browse/JBESB-2572
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Configuration, Deployment
Affects Versions: 4.5
Environment: Jboss AS 4.2.3 GA
JbossESB 4.5
Reporter: Vincent Girard-Reydet
Assignee: Kevin Conner
Attachments: TestEJBJPA.jar, TestEJBJPA_Project.zip
Hot deploying (in fact deploying after Drools) an EJB with JPA annotations fails
systematically with the following error:
SessionFactoryImpl] Error in named query: ProcessInstancesWaitingForEvent
org.hibernate.hql.ast.QuerySyntaxException: ProcessInstanceInfo is not mapped [select
processInstanc
eInfo.processInstanceId from ProcessInstanceInfo processInstanceInfo where :type in
elements(process
InstanceInfo.eventTypes)]
at
org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:
158)
See the original issue JBIDE-4332 for the details.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira