用的是Oracle 10g,Myeclipse 6.5
用JdbcOdbc桥的方式不会报错,程序能正常运行,但是用Jdbc方式就会出现错误Io 异常: The Network Adapter could not establish the connection。也在网上搜了好多解决方案,但仍没有起作用
用JdbcOdbc桥的方式不会报错,程序能正常运行,但是用Jdbc方式就会出现错误Io 异常: The Network Adapter could not establish the connection。也在网上搜了好多解决方案,但仍没有起作用
有创建listener么?
本地配置如何的?
Connection-specific DNS Suffix . : domain
IP Address. . . . . . . . . . . . : 192.168.1.103
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
但我让oracle的配置文件改成ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 主机名)(PORT = 1521))
主机名直接是我的电脑上的名字,这样做后jdbcodbc桥方式能运行,但jdbc方式还是不行