[hibernate-dev] IdentifierGeneratorFactory as a service?
Emmanuel Bernard
emmanuel at hibernate.org
Tue Sep 6 07:31:20 EDT 2011
Hi all,
I have the need to implement https://hibernate.onjira.com/browse/HHH-6091 (Let people customize identifier generator strategy mappings programmatically in Hibernate 4)
and I am wondering why IdentifierGeneratorFactory is not a service and if it would make sense for me to implement it as a service. The aternatives would be:
- some hardcoded property based class like in 3.6
- some service dedicated to overriding default id generators that would be called by DefaultIdentifierGeneratorFactory
Any preference?
I also need to implement [HHH-6091](https://hibernate.onjira.com/browse/HHH-6091) Let people customize identifier generator strategy mappings programmatically in Hibernate 4
for which I am considering using the service approach as well.
Let me know if I'm on track
Emmanuel
More information about the hibernate-dev
mailing list