This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
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.
subject: Query on BMP
Multiple Tables catered by a single BMP
Doubts in EJB
Can I map single table to different Entity Bean?
Entity beans and primary keys
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014