[hibernate-issues] [Hibernate-JIRA] Created: (ANN-776) While creating Many to One relationship in superclass using inheritance

SATISH K R YERUVA (JIRA) noreply at atlassian.com
Mon Sep 22 12:52:04 EDT 2008


While creating Many to One relationship in superclass using inheritance
-----------------------------------------------------------------------

                 Key: ANN-776
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-776
             Project: Hibernate Annotations
          Issue Type: Bug
    Affects Versions: 3.2.1
         Environment: Red hat Linux + Netbeans
            Reporter: SATISH K R YERUVA


I have encountered the issue for creating a many to one relation ship. could you please check below error . This is same bug like ANN-376

http://opensource.atlassian.com/projects/hibernate/browse/ANN-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

In this error the status is duplicate, but no one mention where it was solved.

fe use of the session)
     [java] org.hibernate.AssertionFailure: Table XXXXXXXXXXX not found
     [java]     at org.hibernate.persister.entity.JoinedSubclassEntityPersister.getTableId(JoinedSubclassEntityPersister.java:458)

     [java]     at org.hibernate.persister.entity.JoinedSubclassEntityPersister.<init>(JoinedSubclassEntityPersister.java:237)

     [java]     at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:58)
     [java]     at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
     [java]     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
     [java]     at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:713)
     [java]     at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:121)
     [java]     at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)
     [java]     at org.hibernate.persister.entity.JoinedSubclassEntityPersister.getTableId(JoinedSubclassEntityPersister.java:458)

     [java]     at org.hibernate.persister.entity.JoinedSubclassEntityPersister.<init>(JoinedSubclassEntityPersister.java:237)

     [java]     at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:58)
     [java]     at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
     [java]     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
     [java]     at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:713)
     [java]     at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:121)
     [java]     at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)
     [java]     at co


It is creating a table. There was no problem with creating a table or connection

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

        



More information about the hibernate-issues mailing list