Paginal access with OracleDataTable
Posted: Tue 30 Nov 2004 08:51
Hello,
I am testing the paginal access of the OracleDataTable Class, but the following error occurs:
Setting the StartRecord-Property to 0 the first access is successfull, but if I increase the value and call the update method an exception (see below) is thrown.
This exception is not thrown if the StartRecord-Property for the first access is set higher than 0.
Am I doing something wrong?
Best regards
Simon
CoreLab.Oracle.OracleException: OCI invalid handle.
at a.c.q.a(Int32 A_0)
at CoreLab.Oracle.OracleConnection.a(Int32 A_0)
at CoreLab.Oracle.OracleCommand.a(Int32 A_0)
at CoreLab.Oracle.OracleCommand.a(CommandBehavior A_0, Disposable A_1)
at CoreLab.Common.DbCommandBase.b(CommandBehavior A_0)
at CoreLab.Common.DbCommand.ExecuteReader(CommandBehavior behavior)
at CoreLab.Oracle.OracleCommand.ExecuteReader(CommandBehavior behavior)
at CoreLab.Oracle.OracleCommand.a(String A_0, Int32 A_1)
at CoreLab.Oracle.OracleCommand.a(Boolean A_0, Int32 A_1, Int32 A_2)
at CoreLab.Common.DbCommandBase.a(CommandBehavior A_0, Int32 A_1, Int32 A_2)
at CoreLab.Oracle.OracleCommand.ExecutePageReader(CommandBehavior behavior, Int32 startRow, Int32 pageSize)
at CoreLab.Oracle.OracleDataTable.a(IDbCommand A_0, Int32 A_1, Int32 A_2)
at CoreLab.Common.DbTable.FillPage(Int32 startRecord, Int32 maxRecords, Object[] parameterValues)
at CoreLab.Common.DbTable.FillPage(Int32 startRecord, Int32 maxRecords)
at CoreLab.Common.DbTable.set_Active(Boolean value)
I am testing the paginal access of the OracleDataTable Class, but the following error occurs:
Setting the StartRecord-Property to 0 the first access is successfull, but if I increase the value and call the update method an exception (see below) is thrown.
This exception is not thrown if the StartRecord-Property for the first access is set higher than 0.
Am I doing something wrong?
Best regards
Simon
CoreLab.Oracle.OracleException: OCI invalid handle.
at a.c.q.a(Int32 A_0)
at CoreLab.Oracle.OracleConnection.a(Int32 A_0)
at CoreLab.Oracle.OracleCommand.a(Int32 A_0)
at CoreLab.Oracle.OracleCommand.a(CommandBehavior A_0, Disposable A_1)
at CoreLab.Common.DbCommandBase.b(CommandBehavior A_0)
at CoreLab.Common.DbCommand.ExecuteReader(CommandBehavior behavior)
at CoreLab.Oracle.OracleCommand.ExecuteReader(CommandBehavior behavior)
at CoreLab.Oracle.OracleCommand.a(String A_0, Int32 A_1)
at CoreLab.Oracle.OracleCommand.a(Boolean A_0, Int32 A_1, Int32 A_2)
at CoreLab.Common.DbCommandBase.a(CommandBehavior A_0, Int32 A_1, Int32 A_2)
at CoreLab.Oracle.OracleCommand.ExecutePageReader(CommandBehavior behavior, Int32 startRow, Int32 pageSize)
at CoreLab.Oracle.OracleDataTable.a(IDbCommand A_0, Int32 A_1, Int32 A_2)
at CoreLab.Common.DbTable.FillPage(Int32 startRecord, Int32 maxRecords, Object[] parameterValues)
at CoreLab.Common.DbTable.FillPage(Int32 startRecord, Int32 maxRecords)
at CoreLab.Common.DbTable.set_Active(Boolean value)