Posted on 2007-02-06 19:47
love1563 阅读(593)
评论(0) 编辑 收藏 所属分类:
JDBC/JDO/Hibernate
使用SI OBJECT 或者TOAD 为了方便连接不同地址的数据库,可以修改下面的这个文件:
D:\oracle\product\10.1.0\db_1\NETWORK\ADMIN
修改如下:
ORCL199 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.19.199)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl)
)
)
ORCL99=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.19.99)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl)
)
)