• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Good idea or not - 1 Entity Bean, multiple tables?

 
Sheila Wallace
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There have been a number of questions in this forum asking about mapping a single entity bean to multiple tables in a database. I know that this is possible and how to achieve it, however, I would like your opinion on whether this would ver be a good idea. In EJB 2.0, CMR means that we can effectively map 1 bean to 1 table and allow the container to manage the relationships. Can anyone think of a situation where this shouldn't be used and instead you should map 1 bean to multiple tables yourself?
Thanks for any thoughts on the matter.
 
Anselm Paulinus
Ranch Hand
Posts: 390
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A case of join operations on tables
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic