> 11000
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" auto-
import="true">
<class name="AnyTestOracleCastle.TestTableTypes,
AnyTestOracleCastle" lazy="true">
<id name="Id">
<generator class="native" />
</id>
<property name="FVarchar2" />
<property name="FNVarchar2" />
<property name="FClob" length="11000" />
<property name="FNClob" column="FNClob" type="StringClob"
length="11000" not-null="false" />
</class>
</hibernate-mapping>
using (ITransaction transaction = session.BeginTransaction())
{
TestTableTypes
TestTableTypes;
string
tmpString = new string('я', 2001);
#if !TEST_CLOB_BY_OBJECT
TestTableTypes = new TestTableTypes();
TestTableTypes.Id = 1;
TestTableTypes.FClob = tmpString;
TestTableTypes.FNClob = tmpString;
session.SaveOrUpdate(TestTableTypes);
#else
query = session.CreateQuery("FROM TestTableTypes WHERE Id = 1");
TestTableTypes = query.List<TestTableTypes>()[0];
TestTableTypes.FClob = tmpString;
TestTableTypes.FNClob = tmpString;
#endif
transaction.Commit();
}
Error still exists :( (NHibernate 1.2.0.3001 / 2.1.2.4000 / 3.0.0.4000)
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.