[
https://issues.apache.org/jira/browse/ARIES-1517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15224426#comment-15224426
]
Alexandre Cartapanis commented on ARIES-1517:
---------------------------------------------
I think the simplest solution is to inject the properties of the persistence
bundle to the EntityManagerFactory.
> Inject properties to persistence.xml
> ------------------------------------
>
> Key: ARIES-1517
> URL: https://issues.apache.org/jira/browse/ARIES-1517
> Project: Aries
> Issue Type: Improvement
> Components: JPA
> Affects Versions: jpa-2.3.0
> Reporter: Alexandre Cartapanis
>
> It would be great to being able to modify the persistence.xml's properties at
> startup (or even at runtime).
> For now, you can inject a datasource at runtime, but the persistence.xml's
> properties like "hibernate.dialect" or "openjpa.jdbc.DBDictionary" cannot be
> changed, making the changes of datasource useless.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)