I have once downloaded one from oracle www site. Usually database vendors
supply the JDBC drivers for a given database server, because only the vendor
can do it right .
Regards
Andrzej Popielewicz
http://www.landibase.topnet.pl
-----Wiadomość orginalna-----
Od: Zhang Cathy-W12361 <[EMAIL PROTECTED]>
Do: '[EMAIL PROTECTED]'
<[EMAIL PROTECTED]>
DW: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Data: 12 lutego 1999 08:57
Temat: RE: [java3d] JDBC URLs question
>Hi, Chris:
>
>What does the thin JDBC drivers mean? Does the JDK1.2(JDK2) have the thin
>JDBC drivers for Oracle? I know JDK1.2 has JDBC-ODBC bridge driver? Where
>can I find the thin JDBC drivers for Oracle?
>
>Thanks a lot!
>
>Cathy
>
>
>> ----------
>> From:
>>
[EMAIL PROTECTED][SMTP:Chris.Carroll/OU=iss
>> [EMAIL PROTECTED]]
>> Sent: Friday, February 12, 1999 11:38 AM
>> To: [EMAIL PROTECTED]
>> Cc: [EMAIL PROTECTED]
>> Subject: RE: [java3d] JDBC URLs question
>>
>>
>> If you are using the thin JDBC drivers then use something along the lines
>> of:
>>
>> jdbc:oracle:thin:@dbserv:1521:sampledb
>>
>> First bit is self explainatory. use the thin oracle drivers (avoid
>> sql*net calls).
>> The second bit is the info from the tnsnames.ora.
>> dbserv: This name of the database server;
>> 1521: The TCP port number used to connect to this machine; and
>> sampledb: The name of the database.
>>
>> try {
>> Class c = Class.forName("oracle.jdbc.driver.OracleDriver");
>>
>> DriverManager.registerDriver((java.sql.Driver)c.newInstance());
>> connection = DriverManager.getConnection(
>>
>> "jdbc:oracle:thin:@dbserv:1521:sampledb",
>> "myuserid",
>> "mypassword");
>> }
>> catch (Exception e) {
>> // Connection failed
>> }
>>
>>
>> ----------
>> From: [EMAIL PROTECTED]
>> To: [EMAIL PROTECTED]
>> Subject: [java3d] JDBC URLs question
>> Date: Friday, 12 February 1999 15:23
>>
>> I downloaded and installed JDK1.2(JDK2) on my PC (using WinNT4.0 service
>> pack 3).
>>
>> I want to connect to Oracle8 database. How should I write the connection
>> (JDBC URLs)?
>>
>> Thse standard syntax for JDBC URLs is:
>>
>> jdbc:<subprotocol>:<subname>
>>
>> <subprotocol> is odbc ?
>> <subname> is the Oracle8 database alias in tnsnames.ora or other ? Is
it
>> use tnsnames.ora?
>>
>>
>> Thanks in advance!
>>
>>
>> Cathy
>> =====================================================================
>> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
>> Java 3D Home Page: http://java.sun.com/products/java-media/3D/
>>
>=====================================================================
>To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
>Java 3D Home Page: http://java.sun.com/products/java-media/3D/
>
˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/