Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2444

ReverseMappingTool creates orm.xml files in the current working directory

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.3.0, 2.4.0
    • kernel
    • 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment