viana
2008-03-25 20:45:15 UTC
Hello,
Since i updgraded to RAD Studio 2007, i'm having a lot of 'Key violation' exceptions, but i'm not doing any insert or edit or even deletes. The error occurs simply by selecting records using commandtext in TClientdataset.
Exact exception text is :
Project XXXXXXXX.EXE raised exception class EDBClient with message 'Key violation'.
The error occurs only if packetrecords is <> -1. If packetrecords is equal -1, the error does not occurs. It seems to be a issue when fetching records.
I'm quite sure this is a D2007 bug, because i run the same project compiled in D6 and everything works fine.
I could open a QC issue, but problem is that to simulate the problem, i need to provide a .GDB (i'm using Firebird) with some example records and a example query. Can i send this files in QC ? Please give me directions and i'll be glad to do it in order to help finding the problem.
I'm having to workaround a lot of queries and changing packetrecords to -1 in order to program works... I usually use packetrecords = 25, and i think it's not a good idea change it to -1, specially for big result sets.
Any ideas would be very appreciated.
Thanks in advance.
Since i updgraded to RAD Studio 2007, i'm having a lot of 'Key violation' exceptions, but i'm not doing any insert or edit or even deletes. The error occurs simply by selecting records using commandtext in TClientdataset.
Exact exception text is :
Project XXXXXXXX.EXE raised exception class EDBClient with message 'Key violation'.
The error occurs only if packetrecords is <> -1. If packetrecords is equal -1, the error does not occurs. It seems to be a issue when fetching records.
I'm quite sure this is a D2007 bug, because i run the same project compiled in D6 and everything works fine.
I could open a QC issue, but problem is that to simulate the problem, i need to provide a .GDB (i'm using Firebird) with some example records and a example query. Can i send this files in QC ? Please give me directions and i'll be glad to do it in order to help finding the problem.
I'm having to workaround a lot of queries and changing packetrecords to -1 in order to program works... I usually use packetrecords = 25, and i think it's not a good idea change it to -1, specially for big result sets.
Any ideas would be very appreciated.
Thanks in advance.