Using IBDAC with DataSnap?

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
luapfr
Posts: 37
Joined: Thu 11 Apr 2013 13:11

Using IBDAC with DataSnap?

Post by luapfr » Sun 19 Jan 2014 22:39

I've "Google" how to connect "TDSProviderConnection"
the "SQLConnection" property a "TIBCConnection"

Most have not found a way to do this
've looked at this link:

http://docwiki.embarcadero.com/RADStudi ... plications

I did not think anything more about it.

And I do not use the "TSQLConnection" with the drivers you
I want to use direct route "TIBCConnection" and "TIBCQuery"

  I would like if you could please send me examples of two basic connection
Server and Client with IBDAC.

  Grateful.

PavloP
Devart Team
Posts: 149
Joined: Fri 24 Jan 2014 12:33

Re: Using IBDAC with DataSnap?

Post by PavloP » Fri 24 Jan 2014 13:20

I recommend you to use the following article:

http://blog.devart.com/using-dac-produc ... pment.html

in which use of UniDAC with DataSnap is revealed in details.
To use IBDAC with DataSnap, replace the TUniConnection and TPostgreSQLUniProvider components with TIBCConnection, also replace TUniQuery and TUniStoredProc with TIBCQuery and TIBCStoredProc respectively.

luapfr
Posts: 37
Joined: Thu 11 Apr 2013 13:11

Re: Using IBDAC with DataSnap?

Post by luapfr » Mon 27 Jan 2014 20:55

As I mentioned this file uses
"TSQLConnection" I want to use "TIBCConnection" and "TIBCQuery"

I had already read that article and not helpful

Would you like a little project
with the Client and the Server

Thank you for listening.

PavloP
Devart Team
Posts: 149
Joined: Fri 24 Jan 2014 12:33

Re: Using IBDAC with DataSnap?

Post by PavloP » Fri 31 Jan 2014 10:17

The DataSnap technology involves three–tier architecture. To connect the DataSnap client with the DataSnap server, a native protocol is used, which is implemented by the TSQLConnection driver only. Therefore you cannot use our components for this purpose.
For connection with the database, the TUniConnection/TIBCConnection component is used, that is described in the blog.

luapfr
Posts: 37
Joined: Thu 11 Apr 2013 13:11

Re: Using IBDAC with DataSnap?

Post by luapfr » Fri 31 Jan 2014 16:05

Yes I understand you could post two more example of a server and a client and post on blog for better learning.


Grateful.

PavloP
Devart Team
Posts: 149
Joined: Fri 24 Jan 2014 12:33

Re: Using IBDAC with DataSnap?

Post by PavloP » Tue 04 Feb 2014 12:23

Please clarify what is unclear for you in the article and what difficulties you are encountering when migrating from UniDAC to IBDAC.

luapfr
Posts: 37
Joined: Thu 11 Apr 2013 13:11

Re: Using IBDAC with DataSnap?

Post by luapfr » Wed 05 Feb 2014 21:31

I do not want to use "TSQLConnection driver"
I want to use "TIBCConnection"
and do not know how to do it by Article

Would you rode two projects one Server and a Client and actually stand in that article so would help both me and other people.

Grateful.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: Using IBDAC with DataSnap?

Post by Dimon » Thu 13 Feb 2014 10:06

TSQLConnection implements a native DataSnap protocol to connect to the DataSnap server. And you cannot use TIBCConnection for this purpose in any way.

Post Reply