| Hi all,
 In my oracle10g database,i have a table of 2 fields, one of Integer and another of varchar(4000).
 When i try to insert the data with ADO.NET, it is allowing upto 4000 characters. If i try the same with NHibernate, it is throwing the following ERROR "ORA-01461: can bind a LONG value only for insert into a LONG column ". If i enter Lessthan 2000 characters, there is no issue, when word count crosses 2000 , i am facing this ERROR.
 
 My concern is, if it is any error with Oracle Driver or Database, it should not have allowed even with ADO.NET or PL/SQL window, why it is throwing error only when i am using NHibernate.
 
 
 Could any one try to insert STRING in the Oracle10g database via Nhibernate morethan 2000 and let me know the reason.
 It is very critical issue, any suggestion/thoughts would do a great help.
 
 Thanks in advance for your valuable time.
 
 Regards
 Sudhagar.S
 
 
 |