0 Replies Latest reply on Jan 22, 2003 9:58 AM by markstg

    entity-command "get-generated-keys" JBoss 3.?.?

    markstg

      Hello All,

      I have started using CMP Entities using JBoss 3.0.0/3.0.4
      and I require (as many do) to use DB generated PKs.
      (i.e. identity MS SQL Server/Sybase)

      I have been previously using BMP Entities, and I did the ejbCreates by manually adding the Statement.RETURN_GENERATED_KEYS (JDBC 3.0) and it works fine.
      I also noticed that in JBoss 3.2.0 (betas/RCs) this feature has been finally added.

      .../jdbc/jdbc3/JDBCGetGeneratedKeysCreateCommand.java

      (new ejb-command in the CMP plugin)

      My question is... is this the only version/branch of JBoss that contains this new feature ? If so, are there plans to merge that feature into 3.0.x?
      Also, if this isnt being moved into 3.0.x, is the 3.2.x
      cmp plugin, able to plugin to 3.0.x ? (I assume not)

      My post regarding this feature is out of necessity
      as:
      - I DO NOT want to continue using BMP
      - I am stuck with identity columns
      - and I would like to stay with a Stable Jboss build
      (unless Jboss 3.2.0 RC1 is stable ? :)

      I the JBoss team requires help in this matter,
      I am willing to pitch in.
      (I have been nicking your hard work for ages,
      so I dont mind aiding in the cause)

      Thanks in advance,
      Mark St.Godard