While working on OGM, I found the need to override some of the default values of some Hibernate Core settings, namely: - TransactionFactory (defaults to JDBCTransactionFactory) - TransactionManagerLookup (defaults to null)
What do you thing of the idea of having a DefaultValueProvider class that people could extend to override default values. we would then let people pass hibernate.configuration.default_value_provider = com.acme.MyDefaultValueProvider Alternatively, I'd need to define: - hibernate.transaction.default_factory_class - hibernate.transaction.default_manager_lookup_class WDYT? _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev