This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
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 ?