Can anyone give me details on how Zeos handles multiuser and transaction support in a network environment?
If it is possible to have some working code samples, I'd really appreciate it. I've been Googling for a while now but I'm not really satisfied with the little information that I found. Thanks a million.
Zeos multiuser and transaction support code
Moderators: gto, EgonHugeist
-
- Expert Boarder
- Posts: 164
- Joined: 18.03.2008, 13:03
- Contact:
Sorry for the late, late response. In essence, I want to better understand how Zeos handles database transactions and how to write failsafe code for users attempting to modify the same item of data.
If I understand what Wild Pointer & mdaems have said above, it would be better for me to create a new data module (with data connection, queries, stored procedures etc) running in its own isolated thread for every user attempting to connect to the database. That sounds logical.
However, I still need some examples of Zeos code to handle stuff like transaction rollback if an error occurred.
By the way, I'm using Firebird 2.1.3 & PostgreSQL 9.
Thank you for your kind assistance.
If I understand what Wild Pointer & mdaems have said above, it would be better for me to create a new data module (with data connection, queries, stored procedures etc) running in its own isolated thread for every user attempting to connect to the database. That sounds logical.
However, I still need some examples of Zeos code to handle stuff like transaction rollback if an error occurred.
By the way, I'm using Firebird 2.1.3 & PostgreSQL 9.
Thank you for your kind assistance.
-
- Expert Boarder
- Posts: 164
- Joined: 18.03.2008, 13:03
- Contact:
JD,
I'll sugest you read http://zeos.firmos.at/kb.php?mode=article&k=9 That will give you several thoughts to start with when using Postgresql.
Good luck!
I'll sugest you read http://zeos.firmos.at/kb.php?mode=article&k=9 That will give you several thoughts to start with when using Postgresql.
Good luck!