[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-2290) Remove org.drools.persistence.session.MyEntity definition from persistence.xml in drools-persistence-jpa module

Mauricio Salatino (JIRA) jira-events at lists.jboss.org
Thu Oct 22 20:22:05 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBRULES-2290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mauricio Salatino resolved JBRULES-2290.
----------------------------------------

    Resolution: Done


Done in the trunk

> 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: Mauricio Salatino
>            Priority: Critical
>             Fix For: 5.1.0.M2
>
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> 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