Hi,
i have a strange crash when using the oracle dataset.
Oracle server 10.2.0.1.0
Oracle Client 10.2.0.1.0
DOA 4.0.6
I have produced a reduced test:
I have a dataset with a valid SQL statement and a button with the following code:
{
data->Active=false;
data->Active=true;
}
The following scenario works without any problems.
1. Press the button to refresh the query
2. With SQLplus delete the complete table and commit the transaction
3. Press the button again to refresh
The following crashes:
1. Press the button to refresh the query
2. With SQLplus truncate the table ( no commit needed)
3. Press the button again to refresh
Then i get an access violation
I have a workaround for the crash:
If i modify the code in the button to
{
data->Active=false;
data->CloseAll();
data->Active=true;
}
i can truncate the table without the access violation.
When i look into the SQLmonitor it also reports the access violation so i guess it is a DOA problem and not an OCI bug.
Regards,
Lars
i have a strange crash when using the oracle dataset.
Oracle server 10.2.0.1.0
Oracle Client 10.2.0.1.0
DOA 4.0.6
I have produced a reduced test:
I have a dataset with a valid SQL statement and a button with the following code:
{
data->Active=false;
data->Active=true;
}
The following scenario works without any problems.
1. Press the button to refresh the query
2. With SQLplus delete the complete table and commit the transaction
3. Press the button again to refresh
The following crashes:
1. Press the button to refresh the query
2. With SQLplus truncate the table ( no commit needed)
3. Press the button again to refresh
Then i get an access violation
I have a workaround for the crash:
If i modify the code in the button to
{
data->Active=false;
data->CloseAll();
data->Active=true;
}
i can truncate the table without the access violation.
When i look into the SQLmonitor it also reports the access violation so i guess it is a DOA problem and not an OCI bug.
Regards,
Lars