Text length not being set in schema. I am using AutoMap for my schema and I added a convention to set the string length to 32. The exported xml shows the correct mapping but the 'create table' query sent to db (Access) does not contain the length number - just a $1 placeholder.
I do not know where to find in the code that the number should be inserted into the query. I realize it might be in the driver code - but i do not see it. If anyone could lead me in the right direction I'm sure i could fix it. .cs: public virtual string PipelineName { get; set; } .hbmxml: <property name="PipelineName" type="String"> <column name="PipelineName" length="32" /> </property> sql: "create table `Pipeline` (Id COUNTER, PipeUID TEXT(255) null, PipelineName TEXT($1) null, FK_Customer INT null, primary key (Id))" Thanks, Maggie --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---