I tried that and it didn't work. The following line of code does not have an Attributes namespace and therefore errors out:
Code:
using NHibernate.Mapping.Attributes;
Additionally, the compiler is still flagging the Property attribute as not being found:
Code:
[Property(typeof(StringClobSqlType))]
The few examples I've seen online all show the fix in the format I originally posted. However, the compiler does not like the Property attribute, no matter which assembly I put in the "using" statement.
I've also used .Net Reflector to look for the Attribute class (which a class must inherit in order for it to be an attribute of a method, class, etc.) No where in the NHibernate.dll (Version 1.0.2.0) is the Attribute class referenced. So this tells me either the example code on the Internet was never tested or this class existed in an older version of NHibernate.
So is there even an work around for this bug?
Thanks,
Kyle