1 Reply Latest reply on Apr 1, 2003 4:54 PM by Hugo

    PK generation: help

    ricard Newbie


      I'm using JBoss 3.0.6 with PostgreSQL 7.2.

      I'm looking for a way to let the container generates an integer primary key for a CMP entity bean.

      I've looked in this forum and it seems that the solution is to set <auto-increment/> in the <cmp-field> element within the jbosscmp-jdbc file. However this feature is not available in JBoss 3.0.x (the dtd file doesn't provide such an element). I've looked at a JBoss-3.2.x distrib but I haven't find it.

      Is someone can help me?