-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Mapping a Map
PostPosted: Mon Sep 27, 2004 5:57 am 
Newbie

Joined: Mon Sep 27, 2004 5:52 am
Posts: 1
Hi,

I Have a class with one member declared like this:

// Map [Question, Answer]
private Map questionsAndAnswers;

This is a map that sores instance of other two classes i use in my code: Question and Answer.

How should i map this using hibernate?

I tried many different mappings but got an error while trying to generate a database schema (using schema export)

Thanks in advance.

Jo


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.