6 Replies Latest reply on Oct 10, 2006 1:29 PM by Gavin King

    ManagedEntity class has gone

    Newbie

      Hi!

      I suppose nobody uses ManagedEntity class as it disappeared from CVS (after some floating through packages) and did not work before it (due to joinTransaction() and cast to String in getConvertedId()). Is it true - is it completely gone? What alternative has to be used?

      Now I keep working variant inside my project... Why did you kill that class?

        • 1. Re: ManagedEntity class has gone
          Carsten Hoehne Master

          Hello,
          i am used to use HibernateManagedEntity.
          Both classes HibernateManagedEntity and ManagedEntity are renamed.
          Please refer to this thread:
          http://www.jboss.com/index.html?module=bb&op=viewtopic&t=92311
          We have to wait.
          There will be an example which shows how to use the refectored (renamed ) ManagedEntity.
          I wanted to try this out and asked here in the forum. The above link shows gavins answer.
          Ciao,
          Carsten

          • 2. Re: ManagedEntity class has gone
            Newbie

            What are them renamed into?

            Wait - yes, of course, I am eager to see a brand new Seam. But we try to use Seam in some kind of commercial development and merely cannot stop and sit sleeping. Luckily for us, ManagedEntity was broken and we got a local copy. Any way, it was rather unexpected to lose the class without any traces.

            And what was the difference between HibernateManagedEntity and ManagedEntity?

            • 3. Re: ManagedEntity class has gone
              Carsten Hoehne Master

              Hello

              it was rather unexpected to lose the class without any traces.

              Not for us. This kind of functinality was never integrated in a production stable seam library.
              ut we try to use Seam in some kind of commercial development

              If this is the case why are you using Seam in its development form? Why not use the original Seam release.

              I am lucky since i have only a prototype now,:-)

              The difference between HibernateManagedEntity and ManagedEntity is the persistence Method. One uses an EntityManager and the other a Hibernate session.
              Ciao,
              Carsten


              • 4. Re: ManagedEntity class has gone
                Gavin King Master

                This component was NEVER released in any kind of packaged version of Seam (not even a beta). It was pure CVS stuff.

                Now, of course, all old code is ALWAYS available in CVS, that is why we have a version control system!

                If you look at the new example application in CVS, you will see how to use the org.jboss.seam.framework.EntityHome class that replaces it. This is a much enhanced design.

                • 5. Re: ManagedEntity class has gone
                  Newbie

                   

                  baz> Why not use the original Seam release.


                  Because every second reply in this forum contains words "check CVS for a new corrected version" :)

                  Gavin> org.jboss.seam.framework.EntityHome

                  That's what I wanted to hear! Thanks!

                  Is EntityHome finished enough to start using it?

                  • 6. Re: ManagedEntity class has gone
                    Gavin King Master

                     

                    Is EntityHome finished enough to start using it?


                    Yes, I think so.