Thanks.

I'm using the JetDriver that's in the NHContrib project.  I already
have a copy that I am modifying for testing.  I am using Access 2007
and it was written for an earlier version.  I don't think this
JetDriver is used much and I do not have confidence in it for
completeness..  It does not have unit tests of note. I am pretty sure
the error or omission is in there.  I have reported some bugs but I
don't think anyone works on it.  I will submit the updates when I
figure it out and can test it.

The problem is how Hbm2ddl interprets the JetDialect  database type
mapping information.
I just need to figure out what type hbm2ddl uses for a string when it
does the lookup for length syntax.
I am going to try to build NH so I can get a PDB file - I think it
will be faster if I can step into the SchemaExport method directly.

If I put a length in greater than 255 it maps to TEXT which can be any
length and If I don't give a length I get TEXT(255) both of which are
correct.  If I put a length in less than 255 I get TEXT($1) - which
indicates hbm2ddl could not find the type.



On Apr 28, 9:05 am, Hudson Akridge <[email protected]> wrote:
> Hrm, that .hbm is solid. Not sure what else you could do. Seems to be a
> dialect bug that you'd want to report, but as you say, their forums/whole
> site's been down for some time (in internet time). Which dialect and version
> of NHibernate are you using, perhaps I can create a patch for you.
>
> On Tue, Apr 28, 2009 at 7:43 AM, MaggiePlusPlus
> <[email protected]>wrote:
>
>
>
> > I found some problems with the dialect and am getting further.
>
> > Is there a C# type I can use that will translate to a fixed length
> > text field?
>
> > I realize this is not a fluent question anymore - but their message
> > forums have been down.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" 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/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to