[
https://issues.apache.org/jira/browse/DELTASPIKE-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16014721#comment-16014721
]
ASF subversion and git services commented on DELTASPIKE-1251:
-------------------------------------------------------------
Commit 301ff1b4e73a547b1e1be5410ebbb5ff881b67c1 in deltaspike's branch
refs/heads/master from [~struberg]
[ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=301ff1b ]
DELTASPIKE-1251 apply ConfigFilter to PersistenceConfiguration values
> Make PersistenceConfigurationProvider pick up information from the config
> subsystem
> -----------------------------------------------------------------------------------
>
> Key: DELTASPIKE-1251
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-1251
> Project: DeltaSpike
> Issue Type: New Feature
> Components: JPA-Module
> Affects Versions: 1.7.2
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Fix For: 1.8.0
>
>
> Currently PersistenceConfigurationProvider only looks for files named
> persistence-persistenceUnitName.properties.
> It would be great to also be able to pick up EntityManagerFactory
> configuration via our standard ConfigResolver system.
> For a PersistenceUnit named 'MyUnit' we could e.g. pick up
> persitence-MyUnit.properties plus all config values which start with
> 'deltaspike.persistence.config.MyUnit.'
> A config value
> 'deltaspike.persistence.config.MyUnit.javax.persistence.password=bla'
> Would end up as javax.persistence.password=bla configuration entry
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)