• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CompositeUserType mapping int[]

 
Ranch Hand
Posts: 62
Ruby Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I have a class that has an int[] array and a HashSet<Date> I want to map with a CompositeUserType. I find all kinds of hibernate types like hibernate.INTEGER but there is no array or set type. Can anybody tell me what type to use or how to map an array and a Set?

Here is the property names and types of my CompositeUserType class



Thanks a lot for your help
Pierre
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Pierre,

Here is a link which shows how to map an array in Hibernate.

Sorry, I am not sure what you are trying to do with the types.

Cheers,

Francois
reply
    Bookmark Topic Watch Topic
  • New Topic