>How will this work for detached/reattached objects? A random uuid
>will be generated even though the objects are the same database-wise.
The generated uuid is either saved in the database for new objects or
immediately overrided by its (previously saved) database value for
loaded objects. A detached object keeps its saved uuid (except if you
modify it explicitly) when reattached... |