3 Replies Latest reply on Dec 15, 2002 4:35 AM by Andrew

    How to generate Primary Key (CMP 2.0, PSQL, JB 3.0.3)

    berserksangr Newbie


      Platform: Postgresql 7.3 (JDBC 3.0), JBoss 3.0.3

      How can I do it best with CMP?

      I have no idea how to generate PK. Postgresql has mechanisms for automagically provide such keys... But I've decided to use CMP - so I think that writing SQL (using JDBC 3.0) to create entity and get PK is an absurd...

      Help me, please....