A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Query on BMP
Joined: Mar 11, 2004
Apr 21, 2004 14:50:00
Can a single BMP cater to multiple tables??
That is in a a finder method (ejbFindByPrimaryKey) can i use a join on 2 diff tables??
Joined: Aug 27, 2003
Apr 23, 2004 07:09:00
Yes. If it is BMP, then the bean provider can write SQL code that spans multiple tables. The complete BMP entity bean also can map to more than 1 table in the database.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Query on BMP
Entity beans and primary keys
Doubts in EJB
Multiple Tables catered by a single BMP
Can I map single table to different Entity Bean?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014