DetachCopy « jdo « Java Enterprise Q&A





1. JDO - Do I need to call DetachCopy on my model object before passing it to a view?    stackoverflow.com

My understanding of detach copy is that it makes a copy of your object so that you can make changes to it without the PersistenceManager noticing. Since I close my PersistenceManager before ...

2. JDO - Should I use detachCopy or makeTransient?    stackoverflow.com

With JDO, when should I use detachCopy and when should I use makeTransient? What exactly do each of them do?