File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes CMP with Collection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "CMP with Collection" Watch "CMP with Collection" New topic
Author

CMP with Collection

Safin Ahmed
Greenhorn

Joined: Feb 08, 2006
Posts: 19
Hi

i have a CMP with a Collection of other CMPs (that is, i have a CMR between two CMPs)

Let's say that the CMP Invoice, has a Collection of Line CMPs

How can i add one Line the a given Invoice ?

I've been looking at the CMP and my only option is to get the entire collection, add the Line and then set the collection to the CMP, but i really don't think this is the way to go

Any ideas ?

Thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CMP with Collection