Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-11161

Improved referencing of hibernate configuration file in persistence.xml

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.3.0.Beta1
    • Fix Version/s: 3.3.0.Beta3
    • Component/s: hibernate
    • Labels:
      None

      Description

      Based on JBIDE-10470 issues there are some improvements suggested for hibernate.cfg.xml referencing in persistence.xml:
      1. When postgres.cfg.xml is located is src of home project, there is "/postgres.cfg.xml". It looks like absolute path (slash).
      Can this be changed to relative path form? (just "postgres.cfg.xml")?
      2. If there is required project with defined cfg.xml file located in srt, there should be relative path used as well (I expect this should work as well)
      3. For anything else there could be be an absolute path (with slash like /home/user/workspace/prj/cfg/postgres.cfg.xml)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dgeraskov Dmitry Geraskov
                  Reporter:
                  jpeterka Jiri Peterka
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: