Hello WO-Checkers,
is there an easy way to make a copy on Enterprise-Object and save this as a "new" Enterprise-Object? Because the only solution I found is this:
-------
User u = new User();
session.defaultEditingContext().insertObject(u);
u.setLastname(old.lastname());
u.setFirstname(old.firstname());
...
...
...
session.defaultEditingContext().saveChanges();
-------
And this solution is every else than a good solution :)
Thank you a lot
Peter M.
-- NEU: FreePhone - kostenlos mobil telefonieren und surfen! Jetzt informieren: http://www.gmx.net/de/go/freephone
This archive was generated by hypermail 2.0.0 : Thu May 12 2011 - 18:36:26 UTC