Tuesday, April 24, 2012

HOW TO: Map an entity property to a CLOB field (nHibernate / Fluent)

I'm working on a project that uses nHibernate with Fluent. Today I needed to map an entity property to an Oracle CLOB field. So, after a little of googling, I find that the solution is just to set the CustomSqlType property of the entity to "CLOB" in the mapping class, or if you prefer (as in my case) in a Convention.

The link to the solution in Stackoverflow.

No comments:

Post a Comment