Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Why BMP  RSS feed

 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see the following reasons for using BMP over CMP:
1.Accessing legacy systems and non RDBMS data source.
2.For managing complex relationship.
3.When u r not sure that the CMP code is optimized and would like to use stored procedures for database access.
4.When entity data is found in many databases.
The point # 2 mentioned is no longer valid with the coming up of EJB 2.0 which manages relations.
Any more reasons for using BMP ?
Thanks in advance.
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One more, that's VERY common:
When your DBMS automatically generates the key when you add a row.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!