myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (EXTCDI-236) ConfigurableDataSource
Date Fri, 02 Dec 2011 12:17:40 GMT


Mark Struberg resolved EXTCDI-236.

       Resolution: Fixed
    Fix Version/s: 1.0.2
> ConfigurableDataSource
> ----------------------
>                 Key: EXTCDI-236
>                 URL:
>             Project: MyFaces CODI
>          Issue Type: New Feature
>          Components: JEE-JPA1-Module
>    Affects Versions: 1.0.1
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.0.2
> configuring the database connection in JPA persistence.xml is always ever a pain. Either
you add you maintain multiple persistence.xml or you use JNDI for getting the underlying database
connection for different Servers and ProjectStages.
> The solution is to introduce an own DataSource which can be configured in persistence.xml.
This 'ConfigurableDataSource' knows itself where to get the settings from. In our case this
will get configured via standard CDI mechanisms, e.g. @ProjectStageActivated and @ExpressionActivated.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message