[jboss-jira] [JBoss JIRA] Created: (JBRULES-2290) Remove org.drools.persistence.session.MyEntity definition from persistence.xml in drools-persistence-jpa module
Juraj Tomasov (JIRA)
jira-events at lists.jboss.org
Wed Oct 7 03:24:49 EDT 2009
Remove org.drools.persistence.session.MyEntity definition from persistence.xml in drools-persistence-jpa module
---------------------------------------------------------------------------------------------------------------
Key: JBRULES-2290
URL: https://jira.jboss.org/jira/browse/JBRULES-2290
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-process
Affects Versions: 5.1.0.M1
Reporter: Juraj Tomasov
Assignee: Mark Proctor
Priority: Critical
Fix For: 5.1.0.M2
This bug occurs when drools-persistence-jpa module is running out of JUnit test.
Quick description:
org.drools.persistence.session.MyEntity is defined in src/test/java(test scope), persistence.xml in src/main/resources(production scope) and therefore drools-persistence-jpa module is not usable except for JUnit tests. The solution is to have another persistence.xml (with org.drools.persistence.session.MyEntity definition) in src/test/resources for JUnit tests.
I propose to create integration Junit tests to cover such production/test configuration bugs.
--
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
More information about the jboss-jira
mailing list