2 Replies Latest reply on Aug 20, 2002 2:24 PM by cake

    Autoincrement in CMP

    andrewww

      How I can autoincrement primary-key in CMP

        • 1. Re: Autoincrement in CMP
          hvoss

          That very much depends on how your db handles sequencers (if it does at all); please provide some information about your system environment.

          • 2. Re: Autoincrement in CMP
            cake

            Check out the book "EJB Design Pattern" @ www.theserverside.com. There is a chapter to explain how to do it with CMP. The idea is very simple, but it works great.