[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-4949) ConsoleConfiguration could not be build if entity-id specified in orm.xml but not specified in java.

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Fri Sep 25 08:44:49 EDT 2009


ConsoleConfiguration could not be build if entity-id specified in orm.xml but not specified in java.
----------------------------------------------------------------------------------------------------

                 Key: JBIDE-4949
                 URL: https://jira.jboss.org/jira/browse/JBIDE-4949
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: Hibernate
    Affects Versions: 3.1.0.M4
            Reporter: Dmitry Geraskov
            Assignee: Dmitry Geraskov
             Fix For: LATER


Entity mapped as:
	<entity class="tph.TablePerHierarhy_Top">
		<inheritance strategy="SINGLE_TABLE" />
		<attributes>
			<id name="tph_Id"/>
			<basic name="tph_DataTop"></basic>
		</attributes>
	</entity>

org.hibernate.console.HibernateConsoleRuntimeException: Could not create JPA based Configuration
Could not create JPA based Configuration
  <No message>
  java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException: <no message>
    java.lang.reflect.InvocationTargetException
    javax.persistence.PersistenceException: org.hibernate.AnnotationException: No identifier specified for entity: tph.TablePerHierarhy_Top
    org.hibernate.AnnotationException: No identifier specified for entity: tph.TablePerHierarhy_Top
    org.hibernate.AnnotationException: No identifier specified for entity: tph.TablePerHierarhy_Top
    No identifier specified for entity: tph.TablePerHierarhy_Top




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