This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!