Uploaded image for project: 'jUDDI (Retired)'
  1. jUDDI (Retired)
  2. JUDDI-587

JUDDI incompatible with Hibernate 4.1.x and 4.2.x

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.4
    • 3.2.1
    • core
    • None

    Description

      JUDDI is affected by the following Bug in Hibernate: https://hibernate.atlassian.net/browse/HHH-7630

      Caused by: org.hibernate.HibernateException: Could not locate table which owns column [entity_key] referenced in order-by mapping
      at org.hibernate.persister.entity.JoinedSubclassEntityPersister.determineTableNumberForColumn(JoinedSubclassEntityPersister.java:854)
      at org.hibernate.persister.entity.AbstractEntityPersister.getTableAliasForColumn(AbstractEntityPersister.java:4967)
      at org.hibernate.persister.collection.AbstractCollectionPersister$StandardOrderByAliasResolver.resolveTableAlias(AbstractCollectionPersister.java:1931)
      at org.hibernate.sql.ordering.antlr.OrderByFragmentTranslator$StandardOrderByTranslationImpl.injectAliases(OrderByFragmentTranslator.java:106)
      at org.hibernate.persister.collection.AbstractCollectionPersister.getSQLOrderByString(AbstractCollectionPersister.java:747)
      at org.hibernate.loader.JoinWalker.orderBy(JoinWalker.java:938)
      at org.hibernate.loader.JoinWalker.orderBy(JoinWalker.java:850)
      at org.hibernate.loader.AbstractEntityJoinWalker.initStatementString(AbstractEntityJoinWalker.java:123)
      at org.hibernate.loader.AbstractEntityJoinWalker.initStatementString(AbstractEntityJoinWalker.java:108)
      at org.hibernate.loader.AbstractEntityJoinWalker.initAll(AbstractEntityJoinWalker.java:90)
      at org.hibernate.loader.AbstractEntityJoinWalker.initAll(AbstractEntityJoinWalker.java:77)
      at org.hibernate.loader.entity.CascadeEntityJoinWalker.<init>(CascadeEntityJoinWalker.java:51)
      at org.hibernate.loader.entity.CascadeEntityLoader.<init>(CascadeEntityLoader.java:46)
      at org.hibernate.persister.entity.AbstractEntityPersister.createLoaders(AbstractEntityPersister.java:3881)
      at org.hibernate.persister.entity.AbstractEntityPersister.postInstantiate(AbstractEntityPersister.java:3818)
      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:461)
      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1750)
      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:94)
      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:920)
      ... 45 more

      Maybe this can be fixed inside JUDDI instead of waiting for a fix in Hibernate (since it persists for a very long time now).

      Attachments

        1. JUDDI-587-patch.txt
          1 kB
          Kurt T Stam

        Issue Links

          Activity

            People

              kstam Kurt Stam
              subes subes
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: