VISOCO Software  Home | Products | Services | Download | Order | Support | Forum | Resources | Search | About
  RSS feedRSS Feed  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  RegisterRegister   ProfileProfile    Log inLog in 
Hi,what can i use Transaction by DBexpress of Sybase.

 
Post new topic   Reply to topic    VISOCO Software Forum Index -> VISOCO dbExpress driver for Sybase ASE
Author Message
nzfboy



Joined: 21 May 2003
Posts: 5

PostPosted: Wed May 21, 2003 9:52 am    Post subject: Hi,what can i use Transaction by DBexpress of Sybase. Reply with quote

Hi,what can i use Transaction by DBexpress of Sybase.

any time ,i cant 't rollback .

i use 1.24
Back to top
View user's profile Send private message Send e-mail
VISOCO Support
VISOCO Software Support


Joined: 16 Jul 2002
Posts: 96

PostPosted: Wed May 21, 2003 11:22 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
nzfboy



Joined: 21 May 2003
Posts: 5

PostPosted: Thu May 22, 2003 1:08 am    Post subject: hello, what time can run a Translaction with Dbexpress ??? Reply with quote

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
View user's profile Send private message Send e-mail
VISOCO Support
VISOCO Software Support


Joined: 16 Jul 2002
Posts: 96

PostPosted: Fri May 23, 2003 1:06 pm    Post subject: Reply with quote

Can you send us a little sample ? (in most common form, without details)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
nzfboy



Joined: 21 May 2003
Posts: 5

PostPosted: Mon May 26, 2003 2:57 am    Post subject: i had send you one email , the Emanil is visoco@visoco.com Reply with quote

thanks, may you tell me how to compelete it ?
Back to top
View user's profile Send private message Send e-mail
nzfboy



Joined: 21 May 2003
Posts: 5

PostPosted: Thu May 29, 2003 4:22 am    Post subject: give me your E-MAIL Please. visoco@visoco.com is Error Mail. Reply with quote

give me your E-MAIL Please. visoco@visoco.com is Error Mail.
Back to top
View user's profile Send private message Send e-mail
VISOCO Support
VISOCO Software Support


Joined: 16 Jul 2002
Posts: 96

PostPosted: Thu May 29, 2003 9:03 am    Post subject: Re: give me your E-MAIL Please. visoco@visoco.com is Error M Reply with quote

nzfboy wrote:
give me your E-MAIL Please. visoco@visoco.com is Error Mail.


It's not an erroneous address. We received your sample.
E-mail of our support team is support@visoco.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
nzfboy



Joined: 21 May 2003
Posts: 5

PostPosted: Wed Jun 04, 2003 10:37 am    Post subject: did you recedive My sample?can you send me your modifiy film Reply with quote

did you recedive My sample?can you send me your modifiy film

my E-mail: nzfboy@21cn.com
Back to top
View user's profile Send private message Send e-mail
VISOCO Support
VISOCO Software Support


Joined: 16 Jul 2002
Posts: 96

PostPosted: Wed Jun 04, 2003 11:32 pm    Post subject: Reply with quote

We are still working on it. We met with some unexpected troubles with ClientDataSet
Back to top
View user's profile Send private message Send e-mail Visit poster's website
VISOCO Support
VISOCO Software Support


Joined: 16 Jul 2002
Posts: 96

PostPosted: Mon Jun 09, 2003 12:32 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
anandarya



Joined: 13 May 2004
Posts: 1
Location: rochester

PostPosted: Thu May 27, 2004 11:26 pm    Post subject: Will Transaction Work if we pool connections in DB2 Reply with quote

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
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    VISOCO Software Forum Index -> VISOCO dbExpress driver for Sybase ASE All times are GMT + 2 Hours
Page 1 of 1

 


©VISOCO Software. phpBB by phpBB Group