上面数据库框输入:
(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST =
172.16.8.99)(PORT = 1521)))(CONNECT_DATA =(SERVICE_NAME = HTFDS)))
------------------------------下面的供参考理解----------------------------------------------------------------------
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="oracle.jdbc.OracleDriver" />
<property name="url" value="jdbc:oracle:thin:@172.16.8.99:1521:htfds"/>
<property name="username" value="ec0223" />
<property name="password" value="password" />
<property name="testOnBorrow" value="false" />
<property name="testWhileIdle" value="true" />
</bean>
pl/sql developer另一种连接oracle的方式,布布扣,bubuko.com
时间: 2024-12-16 15:13:26