aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Query on BMP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Query on BMP" Watch "Query on BMP" New topic
Author

Query on BMP

Gaurav Jain
Ranch Hand

Joined: Mar 11, 2004
Posts: 108
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??
Vishwa Kumba
Ranch Hand

Joined: Aug 27, 2003
Posts: 1064
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: http://aspose.com/file-tools
 
subject: Query on BMP
 
Similar Threads
Entity beans and primary keys
Can I map single table to different Entity Bean?
Multiple Tables catered by a single BMP
Doubts in EJB
BMP