0 Replies Latest reply on Nov 4, 2003 3:12 AM by senthilcool

    Deferring insert till commit

    senthilcool Newbie

      The ejbCreate method of my entity bean takes all the primary key and required fields and sets them. I later call set methods on the bean to set the nullable fields. But this causes the container to do a insert and then an update for the bean. Is there a way to defer the insert till commit time so that all the values set till then will be inserted in one insert statement ?