[jbosstools-issues] [JBoss JIRA] (JBIDE-11161) Improved referencing of hibernate configuration file in persistence.xml

Jiri Peterka (JIRA) jira-events at lists.jboss.org
Mon Mar 5 05:21:36 EST 2012


Jiri Peterka created JBIDE-11161:
------------------------------------

             Summary: Improved referencing of hibernate configuration file in persistence.xml
                 Key: JBIDE-11161
                 URL: https://issues.jboss.org/browse/JBIDE-11161
             Project: Tools (JBoss Tools)
          Issue Type: Feature Request
          Components: hibernate
    Affects Versions: 3.3.0.Beta1
         Environment: jbosstools-3.3_stable_branch.aggregate-Update-2012-02-29_14-32-12-H100.zip, L64
            Reporter: Jiri Peterka
            Assignee: Dmitry Geraskov
             Fix For: 3.3.0.Beta2


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)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list