Hello ,
I am new here and i dont know there to start, i can not find any manuals, examples for this components...
I miss TZTransaction (my last version was 3.3.x)
I have small project where i have 1 timer what checks my database (firebird 2,5 embedded db) and do some changes , and at the same time user can do some changes too. so with TZTransaction i know how to realise this , but in the 7.x version seems only possible to have 1 Transaction at time ? For what is good PrepareTransaction ?
can somebody give me hints what or how can i do this with this
Firebird, Transactions, Manuals, examples ?
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
misko2k,
There are a few examples in the downloaded zeoslib file.
And when you check the Knowledge Base on this forum there are a few articles describing the use of simple zeoslib components.
As Jan told : you need two connection objects here. These correspond more or less to 1 transaction over one connection.
If you want to avoid configuring each connection separately you can use a connectiongroup component linked wit two groupedconnections. Then you should only configure the connectiongroup and the groupedconnections are using this information for their work.
Mark
There are a few examples in the downloaded zeoslib file.
And when you check the Knowledge Base on this forum there are a few articles describing the use of simple zeoslib components.
As Jan told : you need two connection objects here. These correspond more or less to 1 transaction over one connection.
If you want to avoid configuring each connection separately you can use a connectiongroup component linked wit two groupedconnections. Then you should only configure the connectiongroup and the groupedconnections are using this information for their work.
Mark