OpenJPA
  1. OpenJPA
  2. OPENJPA-2444

ReverseMappingTool creates orm.xml files in the current working directory

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0, 2.4.0
    • Component/s: kernel
    • Labels:
      None

      Description

      when running TestUseSchemaElement a file 'orm.xml' remains as left over and breaks the follow up tests. This happens because the MetaDataFactory creates a new File("orm.xml") without any base path if there is no orm.xml already on the classpath.

      It should actually use the base directory handed over to the mapping tool.

        Activity

        Mark Struberg created issue -
        Mark Struberg made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mark Struberg made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mark Struberg
            Reporter:
            Mark Struberg
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development