java persistence
Hiii,
In the java persistence api the EnityManager declares a function merge().
when I read the api specification it given as
merge(T entity)-
Merge the state of the given entity into the current persistence context.
I did nt understand what is it actually.Can u tell me what is it?
Thanks...
[337 byte] By [
Anoop_KA] at [2007-11-26 12:15:56]

# 1
Hi,
This link explains it:
http://docs.jboss.org/ejb3/app-server/tutorial/merge/merge.html
"Merging
The Value Object pattern is built into EJB 3.0. You can detach an object from persistence storage and send it across the network to the client. The client can make updates locally to the object, send it back to the server and the changes can be merged/synchronized back to the database using the EntityManager.merge() method."
Kaj
kajbj at 2007-7-7 14:51:18 >
