It is not db related. It used to be called Id as in an Object ID. Its
name changed because a people like to name their db primary keys ID, so
it was forcing these people to create other names for the columns in the
Java code. It seems less people like to name db columns "PRIMARY_KEY",
so it should cause less problems.
But I do not think we should consider the PrimaryKey property to be db
related. It could just as easily be used to relate objects in other
storage mediums. It is just a property that uniquely identifies an
object.
John McNally
Jon Stevens wrote:
>
> 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.
>
> -jon
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]