About Primary Keys

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

About Primary Keys

zhiyongcui
I'm a newbie, I am reading the The Open For Business Project: Entity Engine Guide. In the View Entity Modeling, I was wondering a entity could have two primary keys at "For example, if an OrderHeader entity has an orderId primary key and an OrderLine entity has an orderId primary key and an orderLineSeqId primary key". Who can tell me if it's really true?
Reply | Threaded
Open this post in threaded view
|

Re: About Primary Keys

Jacques Le Roux
Administrator
http://en.wikipedia.org/wiki/Unique_key
<<A unique key or primary key comprises a single column or set of columns.>>

Jacques

From: "zhiyongcui" <[hidden email]>
> I'm a newbie, I am reading the The Open For Business Project: Entity Engine
> Guide. In the View Entity Modeling, I was wondering a entity could have two
> primary keys at "For example, if an OrderHeader entity has an orderId
> primary key and an OrderLine entity has an orderId primary key and an
> orderLineSeqId primary key". Who can tell me if it's really true?
> --
> View this message in context: http://n4.nabble.com/About-Primary-Keys-tp604073p604073.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>