hi, can anyone enlighten me regarding the mecanism of persistence in EJB 3.0 ? I am trying to update an entity in the database from a web client that calls a method in a stateful session bean. That method looks like this :
It does not update the entity, it inserts a new row in the table. What do i need to do so that it updates the row ? Am i missing something regarding the lifecycle of the entity beans ?