Removing the database record in business method(BMP)

Discussions

EJB design: Removing the database record in business method(BMP)

  1. Hi all,
    In my EJB program(BMP), i have loaded the requested record from database(ejbFindByPrimaryKey) into the bean state, and in the business method I deleted the record in the database. Will this create any problems?
    One more thing is that i havent implemented ejbStore.

    Expecting your comments and suggestions.
  2. My idea is use ejbRemove then delete will work fine
    bye