[jbosstools-issues] [JBoss JIRA] Commented: (JBDS-699) Persistence unit not found in seam-gen application

Dan Allen (JIRA) jira-events at lists.jboss.org
Tue Apr 14 13:51:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBDS-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12462162#action_12462162 ] 

Dan Allen commented on JBDS-699:
--------------------------------

While copying persistence-dev.xml to persistence.xml does work, it's not necessary.

> Persistence unit not found in seam-gen application
> --------------------------------------------------
>
>                 Key: JBDS-699
>                 URL: https://jira.jboss.org/jira/browse/JBDS-699
>             Project: Developer Studio
>          Issue Type: Bug
>          Components: seam
>    Affects Versions: 2.0.0.GA
>         Environment: JBoss Seam 2.1.2.CR1
> JDK 5 update 16
>            Reporter: Jozef Hartinger
>             Fix For: 2.0.1
>
>         Attachments: jbds-persistenceunit.jpg
>
>
> To reproduce, create an application with seam-gen and import it into JBDS. Open the hibernate configuration and expand the configuration node. After that, you should see an error window similar to the attached one.
> Persistence unit is not picked up, as it is stored in persistence-dev.xml file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list