[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
Wed May 9 08:06:18 EDT 2012


Lincoln Baxter III created FORGE-565:
----------------------------------------

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


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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the forge-issues mailing list