I am writing a web application with Wicket on the front end and Cayenne on the back end. When a user clicks "Save As" in my application I want to save the current working object with a new key. My suspicion is if I just blank out the key and do a context.commitChanges() I will just change the key and any other information for the object instead of creating new rows in the database. Is this correct? And what is the recommended way to clone or copy an object to a new one?

plb

Reply via email to