[jbosstools-issues] [JBoss JIRA] Issue Comment Edited: (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
Wed Nov 24 08:54:59 EST 2010
[ https://jira.jboss.org/browse/JBIDE-7726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565098#comment-12565098 ]
Dmitry Geraskov edited comment on JBIDE-7726 at 11/24/10 8:53 AM:
------------------------------------------------------------------
Most likely, seam or Hibernate-tools generates not valid java files (not valid mapping).
Could you please attach here generated .java and persistence.xml files (otherwise I am not able to find the problem)?
was (Author: dgeraskov):
Most likely, seam of Hibernate-tools generates not valid java files (not valid mapping).
Could you please attach here generated .java and persistence.xml files (otherwise I am not able to find the problem)?
> 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
>
>
> 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