I don't think so, but, definitely a possibility. My assumption is that the ExportTo will generate the hbm that will be used when the SessionFactory is configured or when the Schema Tools are called. The net result is that the column length is part of the generated DDL.
I will probably get a copy of FNH this weekend to take a look. C On Sep 15, 5:29 am, Rasmoo <[email protected]> wrote: > Related to this? > > http://groups.google.com/group/fluent-nhibernate/browse_thread/thread... > > On Sep 14, 6:55 pm, Chuck <[email protected]> wrote: > > > > > I have an automapping override with the following: > > > mapping.Component(x=>x.Address, m=> > > { > > m.Map(x=>x.StreetName).Length(75); > > m.Map(x=>x.City).Length(20); > > }); > > > When I export the mappings to an hbm, the components have the property/ > > column definitions, but the columns only have the name: > > > <column name="StreetName"/> > > > I was expection to see > > > <column name="StreetName length=75/> > > > I am using the Schema Export to create the database, and being able to > > set the column lengths in components would be helpful. > > > Am I missing a step somewhere? > > > Chuck- Hide quoted text - > > - Show quoted text - -- 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.
