Board index » delphi » TSQLClientDataSet always do CommitRetaining for transaction in Master/Detail relation

TSQLClientDataSet always do CommitRetaining for transaction in Master/Detail relation

Hi,

I have a question here:

I have two TSQLClientDataSet, one master and one detail.  When I scroll the
master dataset, the detail will fetch data from interbase server.  I use
TSQLMonitor to monitor the execution of SQL of server and notice this
behaviour:

16:48:53.830 : INTERBASE - isc_start_transaction
16:48:53.830 : INTERBASE - isc_dsql_execute
16:48:53.830 : INTERBASE - isc_dsql_fetch
16:48:53.830 : INTERBASE - isc_dsql_fetch
16:48:53.830 : INTERBASE - isc_commit_retaining                ------>
Commit Retaining
16:48:53.830 : INTERBASE - isc_dsql_free_statement
16:48:53.840 : INTERBASE - isc_dsql_execute
16:48:53.840 : INTERBASE - isc_dsql_fetch
16:48:53.840 : INTERBASE - isc_dsql_fetch
16:48:53.840 : INTERBASE - isc_commit_retaining
16:48:53.840 : INTERBASE - isc_dsql_free_statement

I don't want to the transaction calls commit retaining and wish the
transaction call commit to end the transaction.  How could I archieve that
with DBExpress?  I can do it with IBX.  Please advice.

Regards,
Chee Yang

 

Re:TSQLClientDataSet always do CommitRetaining for transaction in Master/Detail relation


What is the CommitRetaining parameter of your TSQLConnection component
set to?

On Sun, 7 Jul 2002 16:51:19 +0800, "Chau, Chee Yang" <c...@bce.com.my>
wrote:

Quote
>Hi,

>I have a question here:

>I have two TSQLClientDataSet, one master and one detail.  When I scroll the
>master dataset, the detail will fetch data from interbase server.  I use
>TSQLMonitor to monitor the execution of SQL of server and notice this
>behaviour:

>16:48:53.830 : INTERBASE - isc_start_transaction
>16:48:53.830 : INTERBASE - isc_dsql_execute
>16:48:53.830 : INTERBASE - isc_dsql_fetch
>16:48:53.830 : INTERBASE - isc_dsql_fetch
>16:48:53.830 : INTERBASE - isc_commit_retaining                ------>
>Commit Retaining
>16:48:53.830 : INTERBASE - isc_dsql_free_statement
>16:48:53.840 : INTERBASE - isc_dsql_execute
>16:48:53.840 : INTERBASE - isc_dsql_fetch
>16:48:53.840 : INTERBASE - isc_dsql_fetch
>16:48:53.840 : INTERBASE - isc_commit_retaining
>16:48:53.840 : INTERBASE - isc_dsql_free_statement

>I don't want to the transaction calls commit retaining and wish the
>transaction call commit to end the transaction.  How could I archieve that
>with DBExpress?  I can do it with IBX.  Please advice.

>Regards,
>Chee Yang

--
Bill (TeamB)
(TeamB cannot respond to questions received via email)

Re:TSQLClientDataSet always do CommitRetaining for transaction in Master/Detail relation


What is CommitRetaining parameter? Where to set it. I never set it.

--
--
Best Regards,
Chau Chee Yang
BCE Software Sdn. Bhd. ---> www.bce.com.my

Quote
"Bill Todd" <b...@notthis.dbginc.com> wrote in message

news:b2hgiu0lemhc8947s3apjquj47c6l21ucp@4ax.com...
Quote
> What is the CommitRetaining parameter of your TSQLConnection component
> set to?

> On Sun, 7 Jul 2002 16:51:19 +0800, "Chau, Chee Yang" <c...@bce.com.my>
> wrote:

> >Hi,

> >I have a question here:

> >I have two TSQLClientDataSet, one master and one detail.  When I scroll
the
> >master dataset, the detail will fetch data from interbase server.  I use
> >TSQLMonitor to monitor the execution of SQL of server and notice this
> >behaviour:

> >16:48:53.830 : INTERBASE - isc_start_transaction
> >16:48:53.830 : INTERBASE - isc_dsql_execute
> >16:48:53.830 : INTERBASE - isc_dsql_fetch
> >16:48:53.830 : INTERBASE - isc_dsql_fetch
> >16:48:53.830 : INTERBASE - isc_commit_retaining                ------>
> >Commit Retaining
> >16:48:53.830 : INTERBASE - isc_dsql_free_statement
> >16:48:53.840 : INTERBASE - isc_dsql_execute
> >16:48:53.840 : INTERBASE - isc_dsql_fetch
> >16:48:53.840 : INTERBASE - isc_dsql_fetch
> >16:48:53.840 : INTERBASE - isc_commit_retaining
> >16:48:53.840 : INTERBASE - isc_dsql_free_statement

> >I don't want to the transaction calls commit retaining and wish the
> >transaction call commit to end the transaction.  How could I archieve
that
> >with DBExpress?  I can do it with IBX.  Please advice.

> >Regards,
> >Chee Yang

> --
> Bill (TeamB)
> (TeamB cannot respond to questions received via email)

Re:TSQLClientDataSet always do CommitRetaining for transaction in Master/Detail relation


Use the Object Inspector to view the Params property of your
TSQLConnection component.

On Sat, 13 Jul 2002 10:20:46 +0800, "Chau Chee Yang"

Quote
<cha...@bce.com.my> wrote:
>What is CommitRetaining parameter? Where to set it. I never set it.

>--

--
Bill (TeamB)
(TeamB cannot respond to questions received via email)

Other Threads