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

Martin Gencur (JIRA) jira-events at lists.jboss.org
Thu Nov 25 02:58:59 EST 2010


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

Martin Gencur commented on JBIDE-7726:
--------------------------------------

Well, you were right with the warproject.launch file. The "Core" option was there and was carried over to the JBDS. However, there is still a problem: The "JPA" option works just fine in JBDS as I found out just now. I have two IDEs opened at the same time, the one and only project is imported into the both IDEs (Eclipse+JBossTools and JBDS) and in JBDS it's OK (I can open the hibernate configuration and see the tables in the database) while in JBossTools the hibernate configuration says "Could not create JPA based Configuration". And this is really weird.

> 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, 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