• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to map value-type to collection  RSS feed

kwame Iwegbue
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having an issue, which seems simple enough, but so far I haven't been able to figure it out. I have a Hibernate POJO Value type class (i.e not an Entity class), which I would like to compose with a few Collection objects. I do not want to make this class an Entity, in order to avoid some complex mappings, plus the class doesn't really have any need for shared references.

I'm having difficulty doing this. Does someone know how?

The value type class is itself mapped as a List, in an Entity POJO.

Here is a sample:

[ July 24, 2007: Message edited by: kwame Iwegbue ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!