-->
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: enumerator collection - help!
PostPosted: Thu Jul 21, 2005 11:00 am 
Hi!

Does anyone know how to map a hashtable (IDictionary) that has a collection of enumerators inside the value column?

What I'm trying to do is something like the code below, but the problem is "one-to-many" tag doesn't have "type" attribute. I can't do it using "one-to-many class='MyClass'" because it's not possible to map an Enum.
Can someone help-me, please?

<map name="MyHash" table="TABLE" />
<key column="FK" />
<index-many-to-many column="ID_KEY" class="ObjectModel.KeyClass" />
<one-to-many type="ObjectModel.MyEnum" />
</map>


Top
  
 
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.