John McNally wrote:
> 
> John McNally wrote:
> >
> > BaseObject contains get/setPrimaryKey methods.
> >
> 
> Actually what I should have said is that the Persistent interface
> contains get/setPrimaryKey methods.  BaseObject implements the
> Persistent interface.  I would recommend casting to the interface.

+1 this is the OO way :-)

But remember that if you want your application to work with
LADP and the like, you should have a table in your DB that
maps login names (guaranteed to be unique by Turbine) to your 
app's internal user ids (IDBrokered).

Rafal

--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to