🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #23263

Re: Ϊʲôjdbc:odbc��������oracle��ݿ�

#23263
From: enst
Date: Sat, 09 Aug 2003 09:26
41 lines
2361 bytes
�ҿ���oracle�Ĵ�Ŀ��˵�����������
�ұ���Ҳ��ij�����

����Ϊ�˽���ҵ��Ҫ�ڻ�����,��ʦ���
C�̶��б�������������������û��

�ѵ�odbc���У�

"����ʬ" <waitting@bbs.pku.edu.cn> д���ʼ�
news:47aS23$9KV@bbs.pku.edu.cn...
> ������д
> String url = "jdbc:oracle:thin:@server:port:database";
>     Connection con;
>
>     try
>     {
>         //Class.forName("oracle.jdbc.driver.OracleDriver");
>         DriverManager.registerDriver(new
oracle.jdbc.driver.OracleDriver());
>         con = DriverManager.getConnection (url,"SYSTEM","MANAGER");
>     }
>     catch( Exception e)
>     {
>         e.printStackTrace();
>         con=null;
>     }
>
> ��Ҫ��һ��oracle.jdbc.driver.OracleDriver���ŵ���������classpath��ȥ
>
> �� �� enst. �Ĵ������ᵽ: ��
> : �ǻ�Ҫ��װ��ɣ�
> : "����ʬ" <waitting@bbs.pku.edu.cn> д���ʼ�
> : news:47aPiV$9yR@bbs.pku.edu.cn...
> : >
> : >
> : 162.105.71.221]
>
>
> --
> �� ��Դ:������δ��վ bbs.pku.edu.cn��[FROM:
162.105.71.221]
Technical Details
Message-ID: <bh2eng$sn7$1@mail.cn99.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!maily.cic.tsinghua.edu.cn!news.cn99.com!not-for-mail
References: <47aS23$9KV@bbs.pku.edu.cn>

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,f445cdf49c86a58
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-08-09 02:26:17 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!maily.cic.tsinghua.edu.cn!news.cn99.com!not-for-mail
From: "enst" <enst@163.com>
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: Ϊʲôjdbc:odbc��������oracle��ݿ�
Date: Sat, 9 Aug 2003 17:26:11 +0800
Organization: Bentium Ltd. (CN99)
Lines: 43
Message-ID: <bh2eng$sn7$1@mail.cn99.com>
References: <47aS23$9KV@bbs.pku.edu.cn>
NNTP-Posting-Host: 61.48.10.49
X-Trace: mail.cn99.com 1060421168 29415 61.48.10.49 (9 Aug 2003 09:26:08 GMT)
X-Complaints-To: usenet@news.cn99.com
NNTP-Posting-Date: Sat, 9 Aug 2003 09:26:08 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165