You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "John D. Ament (JIRA)" <ji...@apache.org> on 2015/12/04 13:31:10 UTC

[jira] [Commented] (DELTASPIKE-1035) Make DS PersistenceUnit public and also parse properties

    [ https://issues.apache.org/jira/browse/DELTASPIKE-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15041515#comment-15041515 ] 

John D. Ament commented on DELTASPIKE-1035:
-------------------------------------------

Why not back the persistence units with a map keyed on name to make traversal easier?

> Make DS PersistenceUnit public and also parse properties
> --------------------------------------------------------
>
>                 Key: DELTASPIKE-1035
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1035
>             Project: DeltaSpike
>          Issue Type: New Feature
>          Components: Data-Module
>    Affects Versions: 1.5.1
>            Reporter: Thomas Andraschko
>            Assignee: Thomas Andraschko
>             Fix For: 1.5.2
>
>         Attachments: DS.patch
>
>
> Currently not all JPA implementations (e.g. EclipseLink) provides the PU properties configured via persistene.xml via EntityManagerFactory#getProperties.
> Also there is no other way to access these properties.
> I need to change the database path for my application to the webroot, if HSQLDB is configured via persistence.xml



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)