Re: [hibernate-dev] OGM options and ORM 5 bootstrap

2015-07-03 Thread Gunnar Morling
2015-07-02 16:47 GMT+02:00 Emmanuel Bernard : > I’m torn. > I anticipate that the option programmatic API will be very commonly used, > especially when we start bringing new things like custom denormalisation. > It looks quite verbose for a single setting change :/ Is that how all > property chang

Re: [hibernate-dev] OGM options and ORM 5 bootstrap

2015-07-02 Thread Emmanuel Bernard
I’m torn. I anticipate that the option programmatic API will be very commonly used, especially when we start bringing new things like custom denormalisation. It looks quite verbose for a single setting change :/ Is that how all property changes will have to be done in native Hibernate ORM bootstr

[hibernate-dev] OGM options and ORM 5 bootstrap

2015-07-02 Thread Gunnar Morling
Hi Emmanuel, all, Prior to ORM 5, we used to have OgmConfiguration (sub-class of the dreaded Configuration), which provided an entry point into our custom option API: OgmConfiguration config = ... config.configureOptionsFor( MongoDB.class ) .associationStorage(IN_ENTITY) .