Stateless Session bean>>can't add a row after deleting the same

Discussions

EJB programming & troubleshooting: Stateless Session bean>>can't add a row after deleting the same

  1. hi all,
     I used a session bean to add a record to a table.I manually deleted the same record from DB,without using the EJB. Now, when i try to add the same record(i.e.same primary key) again using the bean, i'm not able to delete it.Please throw anyidea if u have.
    Thanx in advance.
  2. Did you commit the delete in database?


    senthil
  3. No! , but i hope we can do it without using commit. if we use commit, then there's no need to use even connection. right?