🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: 请教两个cloudscape的问题

#11921
From: mark zhong
Date: Sat, 21 Aug 2004 08:47
37 lines
2456 bytes
��һ�����⣺
���п������con�Ǹ������
�ڶ������⣺
ִ��һ����select��SQL��䣬��ʹ��executeQuery()����
L&G wrote:
> 
> question1:������һ�������еı��в�����ݣ�
> 
> ������һ�γ���
> Class.forName( "COM.cloudscape.core.RmiJdbcDriver" );
> Connection connection = DriverManager.getConnection(
>             "jdbc:cloudscape:rmi:search" );
> Statement  statement = connection.createStatement();
> Statement.executeQuery( "insert into URLTOURL (url) values (url1)" );
> �����������ͨ��ģ�
> ���ǵ���Ҫͬʱ��������ʱ��д
> Statement.executeQuery( "insert into CONTEXT (url,con) values (URL1,content)" 
> );
> ��ͨ�����ˣ�����Ϊʲĩ�أ�Ӧ������д�أ�
> 
> question 2�������һ�����������ɾ�գ�
> д Statement.executeQuery( "delete * from CONTEXT" );
> �� Statement.executeQuery( "delete from CONTEXT" );
> ���Dz����Եģ�
> �����У�javaҲ̫�Ѿ��ˣ�  
> 
> 
> --
> 
> 
> 
> 
> 
> 
> ����L&G,����love and game!
> 
> �� ��Դ:����ɽ��ˮվ http://bbs.neu.edu.cn��[FROM: 219.216.117.181]
Technical Details
Message-ID: <cg7266$fco$1@news.yaako.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.moat.net!ctu-peer!news.nctu.edu.tw!netnews.csie.nctu.edu.tw!maily.cic.tsinghua.edu.cn!news.cn99.com!news.yaako.com!not-for-mail
References: <4DhfQ2$IGy@bbs.neu.edu.cn>

Show Full Headers
Complete Article Headers
X-Google-Thread: f6cb0,c3c2e446bab9e861
X-Google-Attributes: gidf6cb0,public
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.moat.net!ctu-peer!news.nctu.edu.tw!netnews.csie.nctu.edu.tw!maily.cic.tsinghua.edu.cn!news.cn99.com!news.yaako.com!not-for-mail
From: mark zhong <sodawater@spymac.com>
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: 请教两个cloudscape的问题
Date: Sat, 21 Aug 2004 16:47:12 +0800
Organization: Bentium Ltd. (CN99)
Lines: 37
Message-ID: <cg7266$fco$1@news.yaako.com>
References: <4DhfQ2$IGy@bbs.neu.edu.cn>
NNTP-Posting-Host: 218.88.111.161
Mime-Version: 1.0
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 8bit
X-Trace: news.yaako.com 1093078022 15768 218.88.111.161 (21 Aug 2004 08:47:02 GMT)
X-Complaints-To: usenet@news.yaako.com
NNTP-Posting-Date: Sat, 21 Aug 2004 08:47:02 +0000 (UTC)
User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502)
X-Accept-Language: en-us, en
In-Reply-To: <4DhfQ2$IGy@bbs.neu.edu.cn>