Jon Stevens <[EMAIL PROTECTED]> writes:

> on 1/11/01 1:59 PM, "Daniel Rall" <[EMAIL PROTECTED]> wrote:
> 
> >> Why not have User include the getPrimaryKeyXXX() methods, then have the
> >> default or non-db implementations set the login id as the PK?
> >> 
> >> John McNally
> > 
> > +1, great suggestion.
> 
> Right...that is what I had before, but Rafal wants to keep the User
> interface clean of anything that could be database related.

Hmmm...how about extending the interface with another interface that
has a getPrimaryKey() method?
-- 

Daniel Rall <[EMAIL PROTECTED]>


------------------------------------------------------------
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