1 Reply Latest reply on Feb 7, 2004 9:29 AM by msalgado

    "unknown-pk" not recognized in 3.2.1

    bobo1025

      I recently download the 3.2.1 version, and try to deploy my EJBs. But I got an error message saying
      Error message: Element type "unknown-pk" must be declared.
      Also all the elements inside the "unknown-pk" element. The same EJBs package has been successfully deployed to 3.2.0RC vesion. I looked into the jbosscmp-jdbc_3_2.dtd file, there is unknown-pk element. Could anyone help me?


      java:/MySqlDS
      <datasource-mapping>mySQL</datasource-mapping>
      <create-table>false</create-table>
      <remove-table>false</remove-table>
      <unknown-pk>
      <unknown-pk-class>java.lang.Integer</unknown-pk-class>
      <column-name>Id</column-name>
      <jdbc-type>INTEGER</jdbc-type>
      <sql-type>INTEGER</sql-type>
      </unknown-pk>
      <entity-command name="get-generated-keys"/>