Igor, since you are the original author of all things tapestry-jpa: In
EntityManagerSourceImpl.createEntityManagerFactory() you are creating a map
on the fly and adding a single property to it before creating the
EntityManagerFactory, so there's no way to pass the default EntityManager
properties to the factory. Did you have any specific use case in mind for
it or you just didn't consider that passing properties would be needed? Not
sure if it's the best way, but I'm thinking one of the easiest approaches
would be to extend the TapestryPersistenceUnitInfo to carry
entityManagerProperties map with with it, so you could add to the map when
contributing. Any objections?

Kalle

Reply via email to