| Author |
Message |
nzfboy
Joined: 21 May 2003 Posts: 5
|
Posted: Wed May 21, 2003 9:52 am Post subject: Hi,what can i use Transaction by DBexpress of Sybase. |
|
|
Hi,what can i use Transaction by DBexpress of Sybase.
any time ,i cant 't rollback .
i use 1.24 |
|
| Back to top |
|
 |
VISOCO Support VISOCO Software Support
Joined: 16 Jul 2002 Posts: 96
|
Posted: Wed May 21, 2003 11:22 am Post subject: |
|
|
Hello.
There is a problem with rollback with cloned connections. It's a problem of Borland dbExpress components. If you have more than one active command SQLConnection opens additional connections internally. You cannot control transactions for this cloned connections. So, this transactions will be autocommited.
See also this topic
You must use ClientDataset's. It reads all records till the end than closes a command. In this case no additional connections will be created. |
|
| Back to top |
|
 |
nzfboy
Joined: 21 May 2003 Posts: 5
|
Posted: Thu May 22, 2003 1:08 am Post subject: hello, what time can run a Translaction with Dbexpress ??? |
|
|
i can't understant it all.
in my project .only 1 connection,1 Provied,1 ClientDataset.
all of my change suport with ClientDataset.
but ,anytime i can't run TransLaction .
in my this job,i must use it .
=======================
in my this Project :
1.i must Write a IC Card by Com1.
2.i wite some data to database.
3.if Write Card Error.i wont rollback it .
what can i do it ???
i must write to Database first To get error in writing IC Card. |
|
| Back to top |
|
 |
VISOCO Support VISOCO Software Support
Joined: 16 Jul 2002 Posts: 96
|
Posted: Fri May 23, 2003 1:06 pm Post subject: |
|
|
| Can you send us a little sample ? (in most common form, without details) |
|
| Back to top |
|
 |
nzfboy
Joined: 21 May 2003 Posts: 5
|
Posted: Mon May 26, 2003 2:57 am Post subject: i had send you one email , the Emanil is visoco@visoco.com |
|
|
| thanks, may you tell me how to compelete it ? |
|
| Back to top |
|
 |
nzfboy
Joined: 21 May 2003 Posts: 5
|
Posted: Thu May 29, 2003 4:22 am Post subject: give me your E-MAIL Please. visoco@visoco.com is Error Mail. |
|
|
| give me your E-MAIL Please. visoco@visoco.com is Error Mail. |
|
| Back to top |
|
 |
VISOCO Support VISOCO Software Support
Joined: 16 Jul 2002 Posts: 96
|
Posted: Thu May 29, 2003 9:03 am Post subject: Re: give me your E-MAIL Please. visoco@visoco.com is Error M |
|
|
It's not an erroneous address. We received your sample.
E-mail of our support team is support@visoco.com |
|
| Back to top |
|
 |
nzfboy
Joined: 21 May 2003 Posts: 5
|
Posted: Wed Jun 04, 2003 10:37 am Post subject: did you recedive My sample?can you send me your modifiy film |
|
|
did you recedive My sample?can you send me your modifiy film
my E-mail: nzfboy@21cn.com |
|
| Back to top |
|
 |
VISOCO Support VISOCO Software Support
Joined: 16 Jul 2002 Posts: 96
|
Posted: Wed Jun 04, 2003 11:32 pm Post subject: |
|
|
| We are still working on it. We met with some unexpected troubles with ClientDataSet |
|
| Back to top |
|
 |
VISOCO Support VISOCO Software Support
Joined: 16 Jul 2002 Posts: 96
|
Posted: Mon Jun 09, 2003 12:32 pm Post subject: |
|
|
| ClientDataset starts a transaction on one connection then uses another (cloned) connection to apply changes. You need to set SQLConnection.KeepConnection to False to prevent this behaviour. It may cause a performance disadvantage so you can use different SQLConnections for changes' applying and data receiving. We know, it's no a very wise solution, but another way is to apply changes manually (not by ClientDataset). |
|
| Back to top |
|
 |
anandarya
Joined: 13 May 2004 Posts: 1 Location: rochester
|
Posted: Thu May 27, 2004 11:26 pm Post subject: Will Transaction Work if we pool connections in DB2 |
|
|
| Tansations work in sync with the database.But in BD Express is it reliable on complex transaction effecting around 20 tables..How can we deal with this complexity if something goes bad.. .Please help with some example with code .... Database Env-Sybase ASC12.5 .. |
|
| Back to top |
|
 |
|