Tim Ward: One thing to discuss: what's the best way for hibernate-osgi to discover your JtaPlatform? Automatically through the OSGi service registry? Requiring persistence bundles to provide the FQN through the hibernate.transaction.jta.platform property in persistence.xml? The properties Map in the PersistenceProvider's createEntityManagerFactory and createContainerEntityManagerFactory? Thinking all three in a hierarchy of fallbacks might be ideal (in order) 1.) persistence.xml 2.) PersistenceProvider properties Map 3.) OSGi service registry 4.) OsgiJtaPlatform (default) |