James, would you mind sharing it. I was pretty sure it was possible
but didn't know the specifics on how to implement it. I would love to
see the specifics as I have somewhat similar requirement.

Thanks!

Anthony

On Sep 15, 3:54 am, JamesSpibey <james.spi...@gmail.com> wrote:
> I figured this out. I just added a convention which says then when the
> property type is string, it should set a CustomType of AnsiString
>
> On Sep 15, 7:42 am, JamesSpibey <james.spi...@gmail.com> wrote:
>
> > Does anyone know how this is done? I can't find where the system types
> > are mapped into NH types in the code so a pointer would be great!
>
> > On Sep 14, 7:14 pm, Anthony Gatlin <gatl...@gmail.com> wrote:
>
> > > James,
>
> > > I believe there is most probably a way. I am not sure how.
>
> > > Anthony
>
> > > On Sep 14, 8:49 am, JamesSpibey <james.spi...@gmail.com> wrote:
>
> > > > Hi,
>
> > > > I'm using FNH to map my oracle database and just realised that
> > > > NHibernate thinks my strings are NVARCHAR rather than VARCHAR. This is
> > > > because the Oracle driver maps the String type to NVARCHAR and the
> > > > AnsiString type to VARCHAR.
>
> > > > Is there a way to tell FNH to map strings as AnsiString by default?
>
> > > > Thanks
>
> > > > James
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to