>I'm afraid this calls out for good old attachCopy(), only with an >additional parameter:
-1 attachCopy() was removed for a good reason - simplification. There are many ways of allowing multiple persist modes. You could easily have a PMF property and associated PM setters/getters for example for this parameter. All you want is the implementation to check if a detached instance exists in the datastore when persisting it, and if not then create it - a simple parameter is enough. -- Andy
