i saw that it is possible to do em.detach(object); and then reset the id and version but by the time i have done that i may as well have written a full copy function.
is there a way to deep clone a JPA object automatically? i.e. to copy
all the parameters and children but clear the id and version fields?
- clone object Matthew Broadhead
- Re: clone object Albert Lee
- Re: clone object Matthew Broadhead
- Re: clone object Albert Lee
- Re: clone object Matthew Broadhead
- Re: clone object Mark Struberg