I have an IDictionary<string, double> as a property of a class. It is
mapped like:
<map name="Scores" table="PeptideSpectrumMatchScores">
  <key column="Id"/>
  <index column="Name" type="String"/>
  <element column="Value" type="Double"/>
</map>

I have not found a way to insert rows into this table using a
stateless session. It seems IStatelessSession.Insert does not supports
persisting collections, even when they are explicitly passed with the
role name as the entity name. I peeked in the code and found that it
only calls GetEntityPersister and then fails if that fails. Shouldn't
it also try GetCollectionPersister? I'm using NHibernate 3.0 alpha and
the problem doesn't look fixed in trunk.

Also, the issue tracker seems to be 404.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to