首页 > 代码库 > pl/sql developer另一种连接oracle的方式

pl/sql developer另一种连接oracle的方式

上面数据库框输入:

(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.8.99)(PORT = 1521)))(CONNECT_DATA =http://www.mamicode.com/(SERVICE_NAME = HTFDS)))

------------------------------下面的供参考理解----------------------------------------------------------------------

   	
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> <property name="driverClassName" value="http://www.mamicode.com/oracle.jdbc.OracleDriver" /> <property name="url" value="http://www.mamicode.com/jdbc:oracle:thin:@172.16.8.99:1521:htfds"/> <property name="username" value="http://www.mamicode.com/ec0223" /> <property name="password" value="http://www.mamicode.com/password" /> <property name="testOnBorrow" value="http://www.mamicode.com/false" /> <property name="testWhileIdle" value="http://www.mamicode.com/true" /> </bean>