• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use multible tables in ejb

 
karunakar rao
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to use multiple tables in ejb? is it possible with CMP. if so how to specify in DD. if i want to write in BMP do i need to create multiple statement objects, any sample code help please,
thanks in advance.
karunakar
 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can have a look at persistance, CMP, BMP and transactions chapters in Ed Roman's book for EJB.
You can view it from theserverside.com or buy your own copy.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Many containers have the ability to map CMP's to multiple tables, but in every case the mechanism will be vendor-specific. You need to tell us what container you are using to give you the specifics.
Kyle
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!