3 Replies Latest reply on Oct 30, 2006 12:37 PM by jbossjbh

    cannot simultaneously fetch multiple bags

    jbossjbh

      Does anyone know what the following exception means?

      org.hibernate.HibernateException: cannot simultaneously fetch multiple bags

      thanks

        • 1. Re: cannot simultaneously fetch multiple bags
          pmuir

          No. This question is to do with hibernate not Seam so I would suggest asking on the Hibernate forums

          • 2. Re: cannot simultaneously fetch multiple bags
            edwinjaufmann

             

            "petemuir" wrote:
            No. This question is to do with hibernate not Seam so I would suggest asking on the Hibernate forums


            I encountered this problem using EJBs (3.0) while using Seam and found a solution. If you were
            using EJBs when you encountered it put your posting in the EJB
            forum and I will post the solution or contact me directly by e-mail.
            (Is an EJB mapping issue.)

            • 3. Re: cannot simultaneously fetch multiple bags
              jbossjbh

              Edwin,

              Thanks for your reply. I've figured out what was wrong. I had a fairly complex data schema with multiple ManyToOne - OneToMany mappings. I had one of them configured backwards. I should have doubled checked before sending the post.

              I just had no clue what the exception was originally trying to tell me.