use all fields as primary key.
Another approach is, which field(s) you use to SELECT in the table? Those
are your PK
JP
> -----Original Message-----
> From: dazhi yang [mailto:[EMAIL PROTECTED]]
> Sent: Martes, 06 de Febrero de 2001 16:57
> To: [EMAIL PROTECTED]
> Subject: Entity Bean without Primary Key
>
>
> I got a question about BMP entity bean and table
> mapping. I would generate an entity bean based on a
> table which containes no primary key. I tried to
> create a primary key class with all columns together
> as primary key in entity bean. The question is how I
> implement ejbLoad (), ejbStore() and ejbRemove()
> methods in where they need primary key in sql WHERE
> clause.
>
> Would appreciate for any help!
>
> Yang
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices.
> http://auctions.yahoo.com/
>
> ==============================================================
> =============
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff EJB-INTEREST". For general help,
> send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".