Re: [hibernate-dev] OGM 5 Bootstrap: Reading property value in MetadataBuilderContributor

2015-04-15 Thread Steve Ebersole
I am not really sure what you mean by "need a way to find out whether the passed MetadataBuilder is meant to bootstrap Hibernate ORM or OGM". I assume what you mean is really much more simple: how do I access configuration settings from within a MetadataBuilderContributor? Presumably a "yes OGM is

[hibernate-dev] OGM 5 Bootstrap: Reading property value in MetadataBuilderContributor

2015-04-15 Thread Gunnar Morling
Steve, all, For migrating OGM to the new ORM 5 bootstrap APIs, I am looking into using a MetadataBuilderContributor for applying an OGM-specific ImplicitNamingStrategy. Provided it is exposed via META-INF/services, the contributor is run un-conditionally. So I'd need a way to find out whether the