🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

[ת��] jdbcһ��

#20738
From: ����Զ��GiGi��
Date: Mon, 15 Dec 2003 13:27
24 lines
1770 bytes
�� ��������ת���� 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. 

������
<database>Ӧ��дʲô

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

�� ��Դ:��Ʈ��ˮ�Ƽ� Freecity.dhs.org��[FROM: aquariusmao]
--
�� ת��:��Ʈ��ˮ�Ƽ� Freecity.dhs.org��[FROM: aquariusmao]
Technical Details
Message-ID: <49eYOf$ACV@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,start
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-12-15 05:27:20 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: [ת��] jdbcһ��
Date: 15 Dec 2003 13:27:05 GMT
Organization: Ʈ��ˮ�Ƽ�
Message-ID: <49eYOf$ACV@Freecity.dhs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1071494825.A