FluentNHibernate and VARCHAR Columns

vandalo's Avatar

vandalo

20 Aug, 2010 10:25 AM via web

Hi,

I've tried to post the same request on StackOverflow:
http://stackoverflow.com/questions/3492868/fluentnhibernate-and-var...
but nobody even considered me :-s
I don't know, maybe it's just a silly question.
I would like my columns (Sql Server 2000) to be VARCHAR instead of NVARCHAR.
I've found a way to fix this implementing an IPropertyConvention. Works fine.
It seems it ignores components, though.
In my App all the addresses are configured as components and my mapping uses ComponentMap.
I expected it to use my convention to create a VARCHAR column for the Address fields but that doesn't happen.
Anybody can help me on this?

Thanks in advance

Alberto

  1. Support Staff 2 Posted by Paul Batum on 21 Aug, 2010 02:55 PM

    Paul Batum's Avatar

    Unfortunately you've run into an existing issue whereby conventions aren't
    being applied to components defined with ComponentMap. We've had some other
    users report the problem but my attempts to correct the issue have gone
    awry, so far.

    On Fri, Aug 20, 2010 at 8:27 PM, vandalo <
    tender+de86d279633a6fb6e007bb589971769afe5bff5cb@tenderapp.com<tender%2Bde86d279633a6fb6e007bb589971769afe5bff5cb@tenderapp.com>
    > wrote:

  2. 3 Posted by vandalo on 23 Aug, 2010 02:55 PM

    vandalo's Avatar

    Thanks Paul,

    I've seen that IComponentConvention is never called.
    I've tried to check what happens but couldn't figure out.

    Thanks, anyway

    Alberto

Reply to this discussion

Preview Comments are parsed with Markdown. Help with syntax

Attached Files

    You can attach files up to 10MB

    What is the opposite of north?