sorry, I have been too vague...
what I want to persist is a list of strings in a column of the entity
so that in the database i have a row
id: 1
name: "myName"
values: "a, b, c"
and as object i have (I use js notation here for brevity)
{
id: 1,
name: "myName",
values: ["a", "b", "c"]
}
On Wed, Jan 27, 2010 at 6:50 PM, Fabio Maulo <[email protected]> wrote:
> <set name="NickNames" >
> <key column="personId"/>
> <element column="nick_name" type="string" not-null="true"/>
> </set>
>
> 2010/1/27 Jan Limpens <[email protected]>
>
>> hello,
>>
>> is there some custom type somewhere in the nh namespaces that helps me to
>> persist an iset of strings as a property of an entity? or will i have to
>> implement this as a NHibernate.UserTypes.IUserCollectionType with some split
>> char?
>>
>> --
>> Jan
>>
>> --
>> 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]<nhusers%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/nhusers?hl=en.
>>
>
>
>
> --
> Fabio Maulo
>
> --
> 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]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
--
Jan
--
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.