File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

will CMP 2.0 supports multiple table joins?

 
giridhar voonna
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Please help me in the above clarification i have, i came to know that with CMP 2.0 we can map one CMP to multiple table joins and also using CMP sub classing we can make use of this code in bmp development, please let me know whats your feedback about this.
Regards
Giridhar
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Weblogic 7.0 CMP supports multiple tables.
For other servers You can map an entity to a view that joins multiple tables.
[ September 05, 2003: Message edited by: Pradeep Bhat ]
 
giridhar voonna
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am working on websphere, please tell me CMP supports the same
 
Chris Mathews
Ranch Hand
Posts: 2712
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pradeep Bhat:
For other servers You can map an entity to a view that joins multiple tables.

Not all servers support mapping entity beans to view.
In general if you are mapping across multiple tables then Entity Beans are probably not the best choice. I would go with a more advanced O/R Mapper like Hibernate.
 
giridhar voonna
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your reply, but hibernate can be integrated with websphere, is it free source or we need to buy?
 
Chris Mathews
Ranch Hand
Posts: 2712
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate is an extremely popular open source O/R Mapper. It is available under an LGPL license and is very feature complete. Take a look at Hibernate's Feature List.
 
giridhar voonna
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using CMP 2.0 sub classing we can make use of this sub classing code in bmp development to reduce coding in bmp, please let me know whats your feedback about this.
Regards
Giridhar
 
Chris Mathews
Ranch Hand
Posts: 2712
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by giridhar voonna:
Using CMP 2.0 sub classing we can make use of this sub classing code in bmp development to reduce coding in bmp, please let me know whats your feedback about this.
Regards
Giridhar

BMP is broken, it offers nothing. See these threads for more thoughts on BMP:
Best design practices
bmp v/s cmp
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bringing life again into this thread...
Originally posted by Chris Mathews:
Not all servers support mapping entity beans to view.

Is this because the application server needs to be able to create the view as well as use it? Something else? From the "use" perspective, I can't think of a reason why views wouldn't be supported.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this because the application server needs to be able to create the view as well as use it?

This should not be a problem if we create the view manually.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic