Register / Login
Win a copy of
Kotlin in Action
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
EJB and other Java EE Technologies
CMP with Collection
posted 11 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 ?
It is sorta covered in the
JavaRanch Style Guide
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