Mark Struberg created DELTASPIKE-1251:
-----------------------------------------

             Summary: 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)

Reply via email to