Hello,
I am using DOA in a multi-tier setup: hooking up a TDataSetProvider to the TOracleDataset and passing the data to a TClientDataSet. I have a situation where a particular sql in the TOracleDataset is causing the clientdataset to hide some records. The SQL joins several tables and has an "order by" at the end. If I remove the "order by", the client dataset shows all records as it should. I tend to think it is DOA causing this behavior, because if I replace the TOracleDataset with the BDE's TQuery component, all the records show. I think it has to do with the DEFAULT_ORDER index that is created in the client dataset, but I'm not sure where to go from here. Trying simpler SQLs on the scott schema do not reproduce the problem. Any ideas or suggestions? Although it is possible for us to remove the "order by" from the SQL and create an index manually, we are switching a very large application to DOA and this would rather be avioded.
Thanks,
Natalie
I am using DOA in a multi-tier setup: hooking up a TDataSetProvider to the TOracleDataset and passing the data to a TClientDataSet. I have a situation where a particular sql in the TOracleDataset is causing the clientdataset to hide some records. The SQL joins several tables and has an "order by" at the end. If I remove the "order by", the client dataset shows all records as it should. I tend to think it is DOA causing this behavior, because if I replace the TOracleDataset with the BDE's TQuery component, all the records show. I think it has to do with the DEFAULT_ORDER index that is created in the client dataset, but I'm not sure where to go from here. Trying simpler SQLs on the scott schema do not reproduce the problem. Any ideas or suggestions? Although it is possible for us to remove the "order by" from the SQL and create an index manually, we are switching a very large application to DOA and this would rather be avioded.
Thanks,
Natalie