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

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Fri May 6 20:42:18 EDT 2011


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

Lincoln Baxter III commented on SEAMFORGE-147:
----------------------------------------------

No worries.

It would prompt because of settings conflict when first creating a persistence.xml file.

It revealed a bug in shrinkwrap descriptors in which the PersistenceDescriptor model would be null after parsing an empty persistence.xml (created when installing persistence facet before doing persistence setup)

Those things should probably be fixed, plus, I think the flow of this new stuff was a little bit weird and didn't have time to look at it yet. So keep your branch around for a little while and we'll get it there :)

Other than that, I think this is definitely a good direction to take.

> 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
>            Assignee: Paul Bakker
>             Fix For: 1.0.0.Alpha4
>
>
> 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