由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - Question about Oracle Driver
相关主题
谁设置干过IBM ODBC to iSeries 400 上的DB2?[转载] Whcich DB Software to Install?
帮帮忙: JDBC怎么不能用?ORACLE Pro*C 远程接续一问?
ole db driver for DB2 neededJDBC-ODBC Bridge supporting JDBC API 2.0?
问个SQL的问题Question
有人抽取过AS/400(iSeries)的数据么?Oracle8i能装在Win2000下吗?
ODBCweb based database?
Help on JDBC:ODBC SOSJDBC<======================>Oracle8i
how to establish sun.jdbc.odbc.JdbcOdbcDriverquestion on SQL Server
相关话题的讨论汇总
话题: oracle话题: question话题: url话题: userid话题: driver
进入Database版参与讨论
1 (共1页)
k****a
发帖数: 10
1
Does OracleDriver support setting up the
userID and password in the URL string?
so when making the connection, no userID
and password are needed to passed?
it could be done with ODBC, but I tried
with both DB2 and Oracle, won't work.
I could not find the answer in oracle specs
or the JDBC specs :(
please help...
c******v
发帖数: 6
2

It does, in a way. try
DriverManager.registerDriver(new
oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection(url,
"username", "password");
good luck.

【在 k****a 的大作中提到】
: Does OracleDriver support setting up the
: userID and password in the URL string?
: so when making the connection, no userID
: and password are needed to passed?
: it could be done with ODBC, but I tried
: with both DB2 and Oracle, won't work.
: I could not find the answer in oracle specs
: or the JDBC specs :(
: please help...

k****a
发帖数: 10
3
ft, i don't mean this traditional way of
getting connection
u did not quite get my point
my question is in connection pooling,
u set the URL in a datasource, u don't set
URL in ur code...
any ideas?
thx:)

【在 c******v 的大作中提到】
:
: It does, in a way. try
: DriverManager.registerDriver(new
: oracle.jdbc.driver.OracleDriver());
: Connection conn = DriverManager.getConnection(url,
: "username", "password");
: good luck.

1 (共1页)
进入Database版参与讨论
相关主题
question on SQL Server有人抽取过AS/400(iSeries)的数据么?
[转载] Java/JSP/Servlets... and Database(Oracle/DB2)ODBC
w2k下除了ms的JDBC驱动外,还有其它的吗?Help on JDBC:ODBC SOS
a question for JDBChow to establish sun.jdbc.odbc.JdbcOdbcDriver
谁设置干过IBM ODBC to iSeries 400 上的DB2?[转载] Whcich DB Software to Install?
帮帮忙: JDBC怎么不能用?ORACLE Pro*C 远程接续一问?
ole db driver for DB2 neededJDBC-ODBC Bridge supporting JDBC API 2.0?
问个SQL的问题Question
相关话题的讨论汇总
话题: oracle话题: question话题: url话题: userid话题: driver