ActiveReports 7 Now Available! (click for details)

support.dcube.misc

Started by webadmin@datadynamics.com at 06-30-2003 12:00 AM. Topic has 4 replies.

Print Search
Sort Posts:    
   06-30-2003, 12:00 AM
webadmin@datadynamics.com is not online. Last active: 12/13/2005 3:53:57 AM webadmin@datadynamics.com

Not Ranked
Joined on 12-12-2005
Posts 0
Active Connection
Originally Posted By: Efraim Rufino<efraim@akbit.com>

Bom Dia,

How to pass an active connection ADO for the Cube?
I do not want that it makes a new connection for the Cube.


Efraim Rufino
AKBIT Solutions Ltda.



   Report 
   07-01-2003, 12:00 AM
webadmin@datadynamics.com is not online. Last active: 12/13/2005 3:53:57 AM webadmin@datadynamics.com

Not Ranked
Joined on 12-12-2005
Posts 0
Re: Active Connection
Originally Posted By: Lucas \(DD\)<dynamicube.support@datadynamics.com>

Unfortunately the only solution would be to use an unbound approach to keep
the same connection object. Otherwise DynamiCube would open another
connection to the database. Keep in mind however that ADO pools these
connections and makes it look almost invisible. In most cases it is not
costly at all. Hope this helps...

Lucas
DD Support


"Efraim Rufino" wrote in message
news:zfPJrBwPDHA.1436@dynaweb.datadynamics.com...
> Bom Dia,
>
> How to pass an active connection ADO for the Cube?
> I do not want that it makes a new connection for the Cube.
>
>
> Efraim Rufino
> AKBIT Solutions Ltda.
>
>



   Report 
   07-02-2003, 12:00 AM
webadmin@datadynamics.com is not online. Last active: 12/13/2005 3:53:57 AM webadmin@datadynamics.com

Not Ranked
Joined on 12-12-2005
Posts 0
Re: Active Connection
Originally Posted By: Sergey Broudkov<broudkov@nir.ru>

Hello, Lucas!
You wrote on Tue, 1 Jul 2003 15:41:55 -0400:

LD> Unfortunately the only solution would be to use an unbound approach to
LD> keep the same connection object. Otherwise DynamiCube would open
LD> another connection to the database. Keep in mind however that ADO pools
LD> these connections and makes it look almost invisible. In most cases it
LD> is not costly at all. Hope this helps...

Though it sounds good, there are situations when it's unacceptable. I.e. my
application has no direct access to DB at all, only via a business layer. So
I have to use unbound mode :(

--
Regards,
Sergey Broudkov
sbpro@geocities.com
ICQ #4841919


   Report 
   07-07-2003, 12:00 AM
webadmin@datadynamics.com is not online. Last active: 12/13/2005 3:53:57 AM webadmin@datadynamics.com

Not Ranked
Joined on 12-12-2005
Posts 0
Re: Active Connection
Originally Posted By: Lucas \(DD\)<dynamicube.support@datadynamics.com>

Yes. If you are using business objects, then your solution would be to use
do one of two things:

1.) Use an unbound approach
2.) Use a bound approach on the server and save it via serverside script.
When window loads, call DCube.Load using client side script.

Hope this helps,

Lucas
DD Support


"Sergey Broudkov" wrote in message
news:lSGHXUIQDHA.1408@dynaweb.datadynamics.com...
> Hello, Lucas!
> You wrote on Tue, 1 Jul 2003 15:41:55 -0400:
>
> LD> Unfortunately the only solution would be to use an unbound approach
to
> LD> keep the same connection object. Otherwise DynamiCube would open
> LD> another connection to the database. Keep in mind however that ADO
pools
> LD> these connections and makes it look almost invisible. In most cases
it
> LD> is not costly at all. Hope this helps...
>
> Though it sounds good, there are situations when it's unacceptable. I.e.
my
> application has no direct access to DB at all, only via a business layer.
So
> I have to use unbound mode :(
>
> --
> Regards,
> Sergey Broudkov
> sbpro@geocities.com
> ICQ #4841919
>



   Report 
   07-08-2003, 12:00 AM
webadmin@datadynamics.com is not online. Last active: 12/13/2005 3:53:57 AM webadmin@datadynamics.com

Not Ranked
Joined on 12-12-2005
Posts 0
Re: Active Connection
Originally Posted By: Sergey Broudkov<broudkov@nir.ru>

Hello, Lucas!
You wrote on Mon, 7 Jul 2003 16:05:00 -0400:

LD> Yes. If you are using business objects, then your solution would be to
LD> use do one of two things:

LD> 1.) Use an unbound approach
LD> 2.) Use a bound approach on the server and save it via serverside
LD> script. When window loads, call DCube.Load using client side script.

Thanks for your your reply, I guess the first approach is much easier and
more flexible, but it would be nice if DCube supported disconnected
recordsets (though I anyway use unbound mode throughtout my application, and
for grids too, due to its flexibility).

--
Regards,
Sergey Broudkov
sbpro@geocities.com
ICQ #4841919

LD> Hope this helps,

LD> Lucas
LD> DD Support

LD> "Sergey Broudkov" wrote in message
LD> news:lSGHXUIQDHA.1408@dynaweb.datadynamics.com...
>> Hello, Lucas!
>> You wrote on Tue, 1 Jul 2003 15:41:55 -0400:
>>
LD>>> Unfortunately the only solution would be to use an unbound approach
LD> to
LD>>> keep the same connection object. Otherwise DynamiCube would open
LD>>> another connection to the database. Keep in mind however that ADO
LD> pools
LD>>> these connections and makes it look almost invisible. In most cases
LD> it
LD>>> is not costly at all. Hope this helps...
>>
>> Though it sounds good, there are situations when it's unacceptable. I.e.
LD> my
>> application has no direct access to DB at all, only via a business
>> layer.
LD> So
>> I have to use unbound mode :(
>>
>> --
>> Regards,
>> Sergey Broudkov
>> sbpro@geocities.com
>> ICQ #4841919
>>


   Report 
GrapeCity » Forum Archives » support.dcube.m... » Active Connection

Privacy Policy | Copyright © 1997-2013 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.