1 Reply Latest reply on Dec 1, 2003 9:26 AM by adrian.brock

    CMP ejbCreate sql calls

    bnogent

      When i do a create on a CMP Entity bean, before
      "insert into....", the container do a "select count(*) from ...." to test if the bean exist

      How to disable that ?

      Thanks

        • 1. Re: CMP ejbCreate sql calls

          Look at
          no-select-before-insert
          at the bottom of conf/standardjbosscmp-jdbc.xml

          Make sure your db supports the sql error code for
          constraints violation before replacing "default"

          Regards,
          Adrian