Hi Suppose if I have two Tables and I want to Write only one Entity Beans.I want to use Bean Managed Persistence.How do I do this.I am asking this doubt because the getPrimaryKey(),ejbCreate() methods cannot return primary keys for two tables,Right. Can anyone help me in this regard. Thanks in advance With kind Regards Satheesh.K
Suppose if I have two Tables and I want to Write only one Entity Beans
Why. Just curious to know the reason. Is it because you want to do some rnd.
Entity beans represent a row in the database. One entity. If you have two tables each having its own primary key then we are talking about two entities and each entity should be represented by a different entity bean instance.
Hope it helps.
Sawan<br />SCJP,SCWCD,SCBCD<br /> <br />Every exit is an entry somewhere.