Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-489
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-489
Summary: Let the user specify wether inherit is default false or true
Type: Improvement
Status: Open
Priority: Major
Project: Hibernate2
Components:
toolset
Assignee: Max Rydahl Andersen
Reporter: Max Rydahl Andersen
Created: Sat, 22 Nov 2003 6:17 AM
Updated: Sat, 22 Nov 2003 6:17 AM
Description:
"More and more people" reports that the default inherit strategy for <meta> sometimes conflict with their intentions. e.g. because all meta is inherited by default will meta="implements" in a class be applied to all nested <component> etc.
The current workaround is to set inherit="false" on the relevant <meta>'s, but this get "hairy" when you got many classes with components - it forces you to add the same <meta> tag to each and every part of the hbm file....and that is exactly the opposite on what inherit was intended for. meta inheritance was for reducing the need to duplicate the same information again and again.
My suggestion is to introduce a default-meta-inherit attribute on the <hibernate-mapping> tag. This flag would default to "true" (because that is the current default. If set to "false" then inheritance is disabled on <meta>, unless explicitly stated otherwise.
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|