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

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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Query on BMP