title: ORA-03146: Invalid buffer length for TTC field
body: <p>when I try to insert record to the table, I get the following error.
  I do not have any problems when I perform update and select operations for the same table.</p>
  
  <p>Nhibernate Proviler Insert Command :</p>
  
  <pre><code>&gt; INSERT INTO UserOneTimePassword
  &gt;            (Id,
  &gt;             Password,
  &gt;             TryCount,
  &gt;             CreatedOn,
  &gt;             CreatedBy,
  &gt;             ModifiedBy,
  &gt;             ModifiedOn,
  &gt;             UserId) VALUES     (hibernate_sequence.nextval,
  &gt;             '''5618e6e426cffa1136bd078d0c875a81f1e1edd84a74980dfec579007d225424''
  &gt; [Type: String (0:0:0)]' /* :p0 */,
  &gt;             '0 [Type: Int32 (0:0:0)]' /* :p1 */,
  &gt;             '2017-11-21T09:42:34.0000000 [Type: DateTime (0:0:0)]' /* :p2 */,
  &gt;             '0 [Type: Int64 (0:0:0)]' /* :p3 */,
  &gt;             'NULL [Type: Int64 (0:0:0)]' /* :p4 */,
  &gt;             'NULL [Type: DateTime (0:0:0)]' /* :p5 */,
  &gt;             '7 [Type: Int64 (0:0:0)], :nhIdOutParam = NULL [Type: Int64 (0:0:0)]' /* :p6 */) returning Id into :nhIdOutParam
  </code></pre>
  
  <p><strong><em>Error :</em></strong></p>
  
  <hr>
  
  <blockquote>
    <blockquote>
      <p>Oracle.ManagedDataAccess.Client.OracleException (0x80004005):
      ORA-03146: Invalid buffer length for TTC field at
      OracleInternal.ServiceObjects.OracleConnectionImpl.VerifyExecution(Int32&amp;
      cursorId, Boolean bThrowArrayBindRelatedErrors, SqlStatementType
      sqlStatementType, Int32 arrayBindCount, OracleException&amp;
      exceptionForArrayBindDML, Boolean&amp; hasMoreRowsInDB, Boolean
      bFirstIterationDone)    at
      OracleInternal.ServiceObjects.OracleCommandImpl.ExecuteNonQuery(String
      commandText, OracleParameterCollection paramColl, CommandType
      commandType, OracleConnectionImpl connectionImpl, Int32 longFetchSize,
      Int64 clientInitialLOBFS, OracleDependencyImpl orclDependencyImpl,
      Int64[]&amp; scnFromExecution, OracleParameterCollection&amp;
      bindByPositionParamColl, Boolean&amp; bBindParamPresent, OracleException&amp;
      exceptionForArrayBindDML, OracleConnection connection,
      OracleLogicalTransaction&amp; oracleLogicalTransaction, Boolean isFromEF) 
      at Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteNonQuery()<br>
      at NHibernate.AdoNet.AbstractBatcher.ExecuteNonQuery(IDbCommand cmd)<br>
      at
      NHibernate.Id.Insert.OutputParamReturningDelegate.ExecuteAndExtract(IDbCommand
      insert, ISessionImplementor session)    at
      NHibernate.Id.Insert.AbstractReturningDelegate.PerformInsert(SqlCommandInfo
      insertSQL, ISessionImplementor session, IBinder binder)</p>
    </blockquote>
  </blockquote>
  
  <hr>
  
  <hr>