[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7726) Persistence unit not found: 'null' thrown when using Hibernate Console on a project generated with SeamGen

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Thu Nov 25 04:55:59 EST 2010


    [ https://jira.jboss.org/browse/JBIDE-7726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565312#comment-12565312 ] 

Dmitry Geraskov commented on JBIDE-7726:
----------------------------------------

>Yes, I changed the workspaces, refreshed the "earproject2" in both of them and this happened: in Eclipse+JBTools it didn't work (using the workspace >from JBDS) and in JBDS it worked even with the workspace from Eclipse+JBTools. What does it mean? 
This is bad, I thought something wrong with you workspace settings.

>The same happens when I create a new Seam Web Project with JBoss Tools. I have to set the "Core" option manually because the "JPA" option is >there by default and doesn't work. 
New SEam Web Project configuration should be JPA configuration and should work.

> Persistence unit not found: 'null' thrown when using Hibernate Console on a project generated with SeamGen
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-7726
>                 URL: https://jira.jboss.org/browse/JBIDE-7726
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Hibernate
>    Affects Versions: 3.2.0.Beta2
>         Environment: JBoss Tools 3.2.0.v20101122-2055-H270-Beta2, Seam 2.2.1-SNAPSHOT from 2010-11-23
>            Reporter: Martin Gencur
>            Assignee: Max Andersen
>             Fix For: 3.2.0.Final
>
>         Attachments: Configuration.png, JBTools vs. JBDS.png, JPA.png, PersistenceUnitNotFound.png, warproject.zip
>
>
> Steps to reproduce the bug:
> 1) import a Seam project generated by SeamGen, enable Seam support on the project
> 2) open Window -> Show View -> Hibernate Configurations, click the project in the view
> 3) now you get the exception shown in the attached screenshot

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

        


More information about the jbosstools-issues mailing list