Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2290

Remove org.drools.persistence.session.MyEntity definition from persistence.xml in drools-persistence-jpa module

    XMLWordPrintable

    Details

    • Estimated Difficulty:
      Low

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            salaboy21 Mauricio Salatino (Inactive)
            Reporter:
            jtomasov Juraj Tomasov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 30 minutes
                30m
                Remaining:
                Remaining Estimate - 30 minutes
                30m
                Logged:
                Time Spent - Not Specified
                Not Specified