[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1485) Addition of mapping-bundle or similar feature to configuration file
Steve Ebersole (JIRA)
noreply at atlassian.com
Mon Mar 21 13:00:40 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole closed HHH-1485.
-------------------------------
Closing stale resolved issues
> Addition of mapping-bundle or similar feature to configuration file
> -------------------------------------------------------------------
>
> Key: HHH-1485
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1485
> Project: Hibernate Core
> Issue Type: New Feature
> Environment: Any
> Reporter: tenwit
> Assignee: Steve Ebersole
> Priority: Trivial
>
> Many of the projects I work on result in jars that use hibernate to provide data access facilities to multiple applications (e.g. separate bulk import applications, reporting applications, web and swing front-ends, all over the same DB). Many of these applications use several jars (because they deal with data from several databases). Each application has to maintain its own set of <mapping> elements in its .cfg.xml file. These are getting very cumbersome now: the apps that deal with all of the databases have upwards of 120 .hbm.xml files imported.
> I'd like to suggest a new file, maybe a .map.xml file, that bundles <mapping> elements but doesn't do any configuration stuff. Each of the jars could include one of these files, which would be imported much like individual mapping files (a new <mapping-bundle> element in the .cfg.xml file, maybe?). The file format wouldn't need anything more than a <mapping-bundle> top level element, and the <mapping> element already in the .cfg.xml files. This would reduce the maintenance effort required in apps that follow the same sort of model as mine do.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list