[forge-dev] [JBoss JIRA] Commented: (SEAMFORGE-147) JPA settings not correct in persistence.xml

Paul Bakker (JIRA) jira-events at lists.jboss.org
Wed May 4 04:15:19 EDT 2011


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

Paul Bakker commented on SEAMFORGE-147:
---------------------------------------

This issue was partly because I didn't understand correctly what a container is for this plugin, and partly because Forge isn't completely clear about that either.
I fixed both ;-)



> JPA settings not correct in persistence.xml
> -------------------------------------------
>
>                 Key: SEAMFORGE-147
>                 URL: https://issues.jboss.org/browse/SEAMFORGE-147
>             Project: Seam Forge
>          Issue Type: Bug
>          Components: Java EE APIs
>            Reporter: Paul Bakker
>
> With the following command the generated settings in persistence.xml are not correct. This might also be the case for other databases and settings, but I didn't test that yet.
> {code}
>  persistence setup --provider HIBERNATE --container JBOSS_AS6 --database MYSQL_INNODB --jndiDataSource java:demo
> {code}
> It sets the datasource to: java:/DefaultDS (should be java:demo)
> It sets the hibernate dialect to: org.hibernate.dialect.HSQLDialect (which should be MySQL5InnoDBDialect)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-dev mailing list