• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

How to map value-type to collection

Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
I have always wanted to have a neighbor just like you - Fred Rogers. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic