JBoss3.0 does not handle auto-increment.
JBoss3.2 has some code for this.
Look in the CMP forum for details.
Auto increment primary keys are pretty much standard fare in most RDBMS - it seems like a bizarre ommission for CMP2.0 not to support them.
Are there any workarounds?
Looking in the downloads section I can't see a V3.2, where would I find it?