After reading the document and studying examples, I haven't find a similar case example. I would lilke to know a good approach for the following case.
An object A contains a list of items. This object will be frequently updated through out the live time of the application. In each update, only the list of items is changed. The application has a fixed set of such objects. And I consider to let the application assign an ID to the object instead of generated one by the backend.
I know this can been done by the conventional Hibernate method, which is an object A with one-to-many mapping to the items that have their own IDs. I would like to know whether is another approach or not.
Thanks for your inputs in advance.
v.
|