🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: [ת��] jdbcһ��

#20752
From: ����Զ��GiGi��
Date: Mon, 15 Dec 2003 14:20
29 lines
1973 bytes
лл���
��������Ѿ������

��һ��������
Ҫimport oracle.jdbc.*
�Dz���Ҫ��oracle��jdk

�� �� aquariusmao (����Զ��GiGi��) �Ĵ������ᵽ: ��
: �� ��������ת���� Database ������ ��
: �� ԭ���� aquariusmao ��� ��
: Connection conn = DriverManager.getConnection(
:                           "jdbc:oracle:thin:@<database>",
:                           "my_user", "my_password");
:       where <database> is either a string of the form
:       <host>:<port>:<sid>,  a SQL*net name-value pair, or a service
:       name. 
: ������
: >>  .................<����ʡ��>............


--
  ʲô��������ؼ��һ��
  ��һ������
  ��һ��ѡ��
  ������ ���� ����
  ������ ���� ����
                              

�� ��Դ:��Ʈ��ˮ�Ƽ� Freecity.dhs.org��[FROM: aquariusmao]
Technical Details
Message-ID: <49eZe0$AeO@Freecity.dhs.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!Freecity

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,b71a6d2ce650f4d6
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-12-15 06:22:16 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!Freecity
From: aquariusmao.bbs@Freecity.dhs.org (����Զ��GiGi��)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: [ת��] jdbcһ��
Date: 15 Dec 2003 14:20:40 GMT
Organization: Ʈ��ˮ�Ƽ�
Message-ID: <49eZe0$AeO@Freecity.dhs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1071497856.A