Few points:
# As discussed with [~gunnar.morling], a centralized {{OgmService}} (ala {{EnversService}}) makes the most sense for handling enabled/disabled and any centralized config processing. # Make {{SessionFactoryBuilder}} pluggable. This piece (alone really) allows OGM to be bootstrapped via the same bootstrap API calls as ORM. Add a {{SessionFactoryBuilder#unwrap}} method. # Need to develop a means for providing {{SessionFactoryServiceRegistry}} customization. This is beyond the {{Integrator}} use-case which simply allows configuring existing {{SessionFactoryServiceRegistry}} services. Here we need allowing to override or add additional {{SessionFactoryServiceRegistry}} services. Consider a {{SessionFactoryServiceContributor}} . This covers the {{org.hibernate.hql.spi.QueryTranslatorFactory}} need. # Need to account for "Hibernate Search properties". Still need to understand this use-case a little bit better.
[~gunnar.morling] Anything I missed from our discussion?
|