Insert problem with Oracle using Nhibernate

Posted by Orkun Balkanci on Stack Overflow See other posts from Stack Overflow or by Orkun Balkanci
Published on 2010-05-04T10:23:53Z Indexed on 2010/05/04 10:28 UTC
Read the original article Hit count: 452

There is a CLOB field we are trying to insert html content and sometimes we are getting an error as:

ORA-01461: can bind a LONG value only for insert into a LONG column

When i used nhibernate profiler and copy the query to Toad, it asked me to enter values for variables called "NBSP"!

Is this means that nhibernate doesnt escape special chars?

if so how can i tell it to escape special chars globally?

© Stack Overflow or respective owner

Related posts about fluent-nhibernate

Related posts about asp.net-mvc