Register / Login
EJB and other Java EE Technologies
CMP with Collection
posted 10 years ago
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 ?
Boost this thread!
Hibernate 3.3.2 not flushing inserts before selects
Master details relation in CMPs , how I should set collection of childs ....
NotSerializableException Exception for 9i AS