PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 25 → Driver nativo Oracle
Driver nativo Oracle
Débuté par BOLLER, 24 jan. 2019 06:10 - Aucune réponse
Membre enregistré
3 657 messages
Popularité : +175 (223 votes)
Posté le 24 janvier 2019 - 06:10
Prezados,

Important remark
Para funcionar o driver nativo é importante ter o TNS_Name.ora e seu projeto adequado a versão 32 ou 64 bits que voce instalou, juntamente instalado o driver client da Oracle, diferente nao funciona, ok

Verificar nele qual é o SID pois ele será o Host da conection, em nenhum momento no Windev voce vai apontar o ip e porta do servidor, será baseado sempre a conection no TNS_Name.ora e sobre o SID que é o responsável pela conexão.

Exemplo de linha do TNS_name.ora

treina = (Description=(ADDRESS_LIST=(Address=(PROTOCOL=TCP) (Host=192.168.1.1)(Port=10110))) (CONNECT_DATA=(SID=infohome)))


He get SID, not get name.
Need to inform that the driver uses TNS-Name only the SID infohome, not the name treina!!!!

ex = "infohome" is Host in connection


treina = (Description=(ADDRESS_LIST=(Address=(PROTOCOL=TCP) (Host=192.168.1.1)(Port=10110))) (CONNECT_DATA=(SID=infohome)))


OK

--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Message modifié, 24 janvier 2019 - 06:26