[Cosmo-dev] account activation link persistence

Randy Letness randy at osafoundation.org
Fri Nov 17 07:30:15 PST 2006


Travis Vachon wrote:
>> You can use a generated UUID for this,
>
> is this a Hibernate idea? That is, does Hibernate help generate a UUID 
> and enable look-up by the UUID?
>
> (and subquestion) 
>
> if so, what should I search for in the Hibernate docs to find out how 
> to use this?

No, nothing special.  Just use a string, and the uuid generator that we 
use in UserDao already.  In fact, User has a uid already, so this is 
going to work almost exactly like it, except the hash can be nullable.

-Randy


More information about the cosmo-dev mailing list