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

George Gastaldi (JIRA) jira-events at lists.jboss.org
Fri May 3 01:03:53 EDT 2013


    [ https://issues.jboss.org/browse/FORGE-565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771786#comment-12771786 ] 

George Gastaldi commented on FORGE-565:
---------------------------------------

Isn't this issue already fixed ?
                
> 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.4.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