[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6132?page=c...
]
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira