A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Other Open Source APIs
EJB and other Java EE Technologies
CMP with Collection
Joined: Feb 08, 2006
Feb 20, 2006 08:58:00
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 ?
I agree. Here's the link:
subject: CMP with Collection
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015