Anyone have a OneToMany map working with JPA /hibernate annotations, where the map value is NOT an entity? I think this is NOT supported in JPA, but I'm wondering if with hibernate extensions that it might be possible, but I can't find a working example anywhere.
This is how it was done in the pre-JPA days
[url]http://www.xylax.net/hibernate/entitymap.html
[/url]
Is this possible in hibernate using only annotations , or do I need to drop down to xml for mapping the classes to do this?
OpenJPA seems to support this with extensions....
Thanks,
James
|