2 Replies Latest reply on Dec 27, 2002 3:00 AM by eli_w

    1:1 CMR & Jboss CMP - strange problem

    eli_w

      Hi all!

      I have a strange problem using 1:1 CMR with CMP EJB. When I create an entity bean with given cmr field content - it's ok, no problem has arised and all content in the database . But if I want to create another bean with different primary key but with the same cmr field value - it also creates without any problem, but in the database the record that corresponds to previously created bean updates with NULL value on the column that corresponds to the cmr field, and then the new record is created.
      No unique settings for the DB table, foreign keys are created.
      JBoss 3.0.4 with Tomcat, MS SQL 2000.
      Thanks in advance for any useful advice.