hibernate.cfg.xml配置文件中修改这样几行代码:
oracle.jdbc.driver.OracleDriver
jdbc:oracle:thin:@**.**.**.**:1521:orcl
test
root
**.**.**.**可为本地IP
网上说有的还可以是localhost或是127.0.0.1
但是我这电脑上不能用,不知道是为什么

hibernate.cfg.xml配置文件中修改这样几行代码:
oracle.jdbc.driver.OracleDriver
jdbc:oracle:thin:@**.**.**.**:1521:orcl
test
root
**.**.**.**可为本地IP
网上说有的还可以是localhost或是127.0.0.1
但是我这电脑上不能用,不知道是为什么