[forge-issues] [JBoss JIRA] (FORGE-565) Persistence plugin needs to better guide users through a custom database configuration

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Tue Jan 15 18:26:25 EST 2013


     [ https://issues.jboss.org/browse/FORGE-565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lincoln Baxter III updated FORGE-565:
-------------------------------------

    Fix Version/s: 1.2.1.Final
                       (was: 1.2.0.Final)

    
> Persistence plugin needs to better guide users through a custom database configuration
> --------------------------------------------------------------------------------------
>
>                 Key: FORGE-565
>                 URL: https://issues.jboss.org/browse/FORGE-565
>             Project: Forge
>          Issue Type: Enhancement
>          Components: Builtin Plugins
>    Affects Versions: 1.0.4.Final
>            Reporter: Lincoln Baxter III
>            Priority: Minor
>              Labels: Starter
>             Fix For: 1.2.1.Final
>
>
> In order to use the PostgreSQL (or any custom) database, you'll need to skip the --container JBOSS_AS7 parameter; otherwise, this will override the data-source configuration as seen in the INFO messages:
> {code}***INFO*** Setting transaction-type="JTA"
> ***INFO*** Using example data source [java:jboss/datasources/ExampleDS]{code}
> We should probably make this more clear, or perhaps create a warning or error scenario instead of INFO. When you remove the --container parameter.
> It should be much clearer that you may need to use some of the extended parameters like --jndiName and so forth.
> This can probably be done by updating the PersistencePlugin and related classes: 
> https://github.com/forge/core/blob/master/javaee-impl/src/main/java/org/jboss/forge/spec/javaee/jpa/PersistencePlugin.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list