This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 ?