We use jboss and oracle with cmp. The primary key generation on every table uses an insert-trigger and a sequence on the database so the ejb don't have to generate the pk. We marked the pk-fields in the deployment descripter as "auto-increment" and store the ejb without filled pk. And now we get a CreateException on every store. How can we declare the pk-fields correctly? Many thanks.