I've tested with a TDataSetProvider and a TClientDataSet with AND without the TDataSetProvider.ResolveToDataSet = True, and I've got reconcile error too.
Here is my test project :
https://drive.google.com/file/d/0BwYtGW ... sp=sharing
The second edition not working : i've a reconcile error, here is the what the memo show :
Code: Select all
Connected.
DROP TABLE
CREATE TABLE
INSERT
SELECT 1
value=9
value=9
Here is what the logs from SQL monitor shows, reconcile error is on line 14 :
Code: Select all
1 17:25:51 Log start?
2 17:25:53 Disconnect: test@localhost:1521:sn=XE
3 17:25:53 Connect: test@localhost:1521:sn=XE
4 17:25:53 SQL Execute: DROP TABLE TEST_NULL
5 17:25:53 SQL Execute: CREATE TABLE TEST_NULL (NAME VARCHAR2(50), VALUE NUMBER)
6 17:25:53 SQL Execute: INSERT INTO TEST_NULL VALUES ('TOTO', 10)
7 17:25:57 SQL Execute: SELECT * FROM TEST_NULL
8 17:25:57 Start:
9 17:25:57 SQL Execute: SELECT * FROM TEST_NULL
10 17:25:57 SQL Execute [Update]: UPDATE TEST_NULL
SET
NAME = :NAME, VALUE = :VALUE
WHERE
NAME = :Old_NAME AND VALUE = :Old_VALUE
11 17:25:57 :NAME(String[0],IN)=<NULL>
:VALUE(Float,IN)=9
:Old_NAME(String[4],IN)='TOTO'
:Old_VALUE(Float,IN)=10
12 17:25:57 Commit:
13 17:25:57 Start:
14 17:25:57 SQL Execute: SELECT * FROM TEST_NULL <----------------Reconcile error
15 17:25:57 Commit:
I'm gonna create a TCustomStringField which will know it i sin Oracle mode and has to manipulate empty string as null value, except if someone have a better idea.....
