File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
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.
I agree. Here's the link:
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-2015