The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

gienas (1) [Avatar] Offline
#1
Hello,

I would like ask You about description merge method on page 327:
"The merge method must only be used for entity that exists in database"

In JCP JPA specification I found:
"If X is a new entity instance, a new managed entity instance X' is created and the state of X is
copied into the new managed entity instance X'"

I've tested case call merge on new instance and it seems be a bug on 327 page.

thanks
GG
reza_rahman (456) [Avatar] Offline
#2
Re: Page 327 merge method
GG,

This has been reported already. Please look at previous posts.

Thanks,
Reza