type is not necessary. Set length="" to anything between 4000 and 1073741822 (i.e. 1GB-2bytes) and you will get nvarchar(max).
2017-12-05 3:32 GMT+00:00 chaitanya krishna <[email protected]>: > HI i am new to nhibernate i am facing one problem using nhibernate > > i read some where article and added to my xml file like this way > > <property name="templateBody" column="TemplateBody" type="StringClob" > sql-type="NVARCHAR(max)" /> > > but at the time of run time it showing error like *"The 'sql-type' > attribute is not declared."* > > will u please some one help me on this > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/nhusers. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/d/optout.
