1 Reply Latest reply on Apr 18, 2005 6:57 PM by ousie

    DeploymentException: Generation only supported with single P

    ousie Newbie

      I have a serious issue on hand: I get the "Generation only supported with single PK field" exception when deploying on a table which definitely only has one primary key field. I do have the "<entity-command name="mssql-fetch-key" />" in the "defaults" section of my jbosscmp-jdbc.xml file. When I take this out I don't have the deploy exception anymore, but I do need it for the auto-increment on the primary key fields.

      How do I solve this?

      I use: MS SQL Server 2000, jboss-3.2.3 on Gentoo.

      Thank you,
      Gerrit