[jira] Created: (XDP-229) Hibernate plugin misses the ability to set the name attribute of the session-factory element

"Matthias Kerkhoff (JIRA)" <jira-yCVjj/[email protected]> Wed, 26 Mar 2008 12:20:58 -0500 (CDT)
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <14173247.1206552058263.JavaMail.haus-jira@codehaus01.managed.contegix.com>
Hibernate plugin misses the ability to set the name attribute of the session-factory element
--------------------------------------------------------------------------------------------

                 Key: XDP-229
                 URL: http://jira.codehaus.org/browse/XDP-229
             Project: XDoclet 2 Plugins
          Issue Type: New Feature
            Reporter: Matthias Kerkhoff
             Fix For: 1.0.4


In enterprise environments it is often important to let hibernate automatically register the session factory in the jndi tree of the appserver. Unfortunately, this requires that the session-factory element in the generated hibernate.cfg.xml has the optional name= attribute. The value of the name attribute is used as jndi location during auto-binding.
This should be easily fixed by introducing an additional tag to the HibernateConfigPlugin which is, if present, added to the session-factory element. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace