[Seaside] Equivalent of unique keys in a persistent object model ?

Philippe Marschall philippe.marschall at gmail.com
Sun Jan 17 21:43:08 UTC 2010


2010/1/17  <recursive68 at gmail.com>:
> Hi,
>
> I'm a newby to ST and Seaside. I attempting to port web app that's written
> in Oracle/Java over to Seaside running on Pharo. The current application
> uses Oracle sequence generated unique id's for unique identifiers for
> records, is there a parallel to this when using just objects persisted in
> the Pharo image ?

If we're just talking about objects stored in one image a simple
counter protected by a Semphore/Mutex/Mutex2 might already do the
trick. Could you explain what you need the ids for?

Cheers
Philippe


More information about the seaside mailing list