TD-22619: Oledb - Transaction
TD-22619: Oledb - Transaction
Hi,
I have a problem with t.d. 6.3 and sql transaction.
I migrated our project from t.d. 5.2 to 6.3.
In 5.2 everything works correctly, but in 6.3, if i connect a new cursor in a transaction before it's committed, the transaction is lost and the command INSERT/UPDATE/DELETE it's not commit.
I attach an example for explain my problem.
Thanks
Gianluca
I have a problem with t.d. 6.3 and sql transaction.
I migrated our project from t.d. 5.2 to 6.3.
In 5.2 everything works correctly, but in 6.3, if i connect a new cursor in a transaction before it's committed, the transaction is lost and the command INSERT/UPDATE/DELETE it's not commit.
I attach an example for explain my problem.
Thanks
Gianluca
You do not have the required permissions to view the files attached to this post.
Re: TD-22619: Oledb - Transaction
Hi Gianluca:
Your reprocase does not work on TD 5.2 either.
Please see attached pictures.
Can you please provide a revised one?
Thanks in advance.
Best Regards,
Victor Espinal
Your reprocase does not work on TD 5.2 either.
Please see attached pictures.
Can you please provide a revised one?
Thanks in advance.
Best Regards,
Victor Espinal
You do not have the required permissions to view the files attached to this post.
Re: TD-22619: Oledb - Transaction
Hey Victor,
you have to fill out the login data like sqluser password and database
Best regards
Martin
you have to fill out the login data like sqluser password and database
Best regards
Martin
Re: TD-22619: Oledb - Transaction
Yes Martin.
I am able to get connected to the DB and I did enter the end user, password and database.
Thanks
Victor
I am able to get connected to the DB and I did enter the end user, password and database.
Thanks
Victor
Re: TD-22619: Oledb - Transaction
Hi,
I've retested my example.
If you specify a correct OLEDB connectionstring in gsOleDbConnection, the example works as described.
Thanks
Gianluca
I've retested my example.
If you specify a correct OLEDB connectionstring in gsOleDbConnection, the example works as described.
Thanks
Gianluca
Re: TD-22619: Oledb - Transaction
Hi:
I just followed your OLEDB connection using my end user, database name and password and it does not work on TD 5.2 nor TD 6.3.
Thanks
Victor
I just followed your OLEDB connection using my end user, database name and password and it does not work on TD 5.2 nor TD 6.3.
Thanks
Victor
Re: TD-22619: Oledb - Transaction
Hi Gianluca:
My bad ... sorry.
Working on your case now.
I will keep you posted on any results.
Thanks
Victor Espinal
My bad ... sorry.
Working on your case now.
I will keep you posted on any results.
Thanks
Victor Espinal
Re: TD-22619: Oledb - Transaction
Hi:
v5.2 up to v6.0 SP3 – Work - Insert does implicit COMMIT
v6 SP4 and later – Broken - Insert does implicit ROLLBACK
Work Around: Call SqlSetParameter() after connect ....
Call SqlSetParameter( i_hSql, DBP_AUTOCOMMIT, TRUE, STRING_Null )
....
....
Please let me know if the above workaround works for you.
Thanks in advance.
Regards,
Victor Espinal
v5.2 up to v6.0 SP3 – Work - Insert does implicit COMMIT
v6 SP4 and later – Broken - Insert does implicit ROLLBACK
Work Around: Call SqlSetParameter() after connect ....
Call SqlSetParameter( i_hSql, DBP_AUTOCOMMIT, TRUE, STRING_Null )
Code: Select all
!!CB!! 278
Function: fnInsert
Description:
Returns
Parameters
Static Variables
Local variables
Actions
Call fnSqlSecureConnect( i_hSql )
Call SqlSetParameter( i_hSql, DBP_PRESERVE, TRUE, STRING_Null )
Call SqlSetParameter( i_hSql, DBP_AUTOCOMMIT, TRUE, STRING_Null )
....
Please let me know if the above workaround works for you.
Thanks in advance.
Regards,
Victor Espinal
Re: TD-22619: Oledb - Transaction
I'm sorry but i cannot use in my project the workaround that you have suggested me.
I'm waiting for a solution.
Thanks
I'm waiting for a solution.
Thanks
Re: TD-22619: Oledb - Transaction
Hi:
Defect: TD-22619 has been logged.
We will keep you informed on any updates.
Thanks,
Victor Espinal
Defect: TD-22619 has been logged.
We will keep you informed on any updates.
Thanks,
Victor Espinal
Re: TD-22619: Oledb - Transaction
Ok,
I await news from you
Thanks
I await news from you
Thanks
Who is online
Users browsing this forum: [Ccbot] and 0 guests