🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: [java��]jdbc����

#20939
From: ��������
Date: Fri, 12 Dec 2003 15:24
16 lines
1407 bytes
�Ǻ�,û�׳��쳣,Ӧ�ò���������.
�� �� pupop.bbs@Freecity.dhs.org (pupop) �Ĵ������ᵽ: ��
: ��ȷ������سɹ���
: �� �� apollow (apollo) �Ĵ������ᵽ: ��
: : Class.forName(jdbcDriver).newInstance(); //load driver
: : Connection  dbConn = DriverManager.getConnection(dbURL); //connect
: : String sql = "insert into infor(ID,PASS) values(?,?)";
: : PreparedStatement prepare=dbConn.prepareCall(sql);
: : prepare.clearParameters();
: : prepare.setInt(1,200004);
: : prepare.setString(2,"456");
: : int result =prepare.executeUpdate();
: .................������ʡ�ԣ�

--
�� ��Դ:���Ұ��Ͽ�վ bbs.nankai.edu.cn��[FROM: 202.113.30.129] 
Technical Details
Message-ID: <49cL33$9WS@bbs.nankai.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!maily.cic.tsinghua.edu.cn!news.happynet.org!NanKai

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,31cf01cc6187e9c5
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-12-12 07:26:32 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!maily.cic.tsinghua.edu.cn!news.happynet.org!NanKai
From: desertwolf.bbs@bbs.nankai.edu.cn (��������)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: [java��]jdbc����
Date: 12 Dec 2003 15:24:21 GMT
Organization: �Ұ��Ͽ�վ
Message-ID: <49cL33$9WS@bbs.nankai.edu.cn>
X-Filename: Java/M.1071242643.A
Lines: 16