[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6132) Process and bind global configuration annotations
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Fri May 13 10:57:24 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42317#action_42317 ]
Hardy Ferentschik commented on HHH-6132:
----------------------------------------
Got you now.
So we really have three choices:
* Have some sort of context object (eg _OrmXmlContext)
* Create completely new mock instances (your approach with _MockNames_; maybe _PeristentUnitDefaults_ would be better)
* Re-use the existing annotations, but add a new property, like _persistenceDefault=true_
At the first thought I preferred the last option, but this might be even less transparent then your option. I think in the end it doesn't matter too much.
> Process and bind global configuration annotations
> -------------------------------------------------
>
> Key: HHH-6132
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6132
> Project: Hibernate Core
> Issue Type: Sub-task
> Components: metamodel
> Reporter: Hardy Ferentschik
> Assignee: John Verhaeg
> Fix For: 4.0.0.Beta1
>
>
--
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