Re: Closing ResultSet and Statement?

2001-03-20 Thread Zenon Braga F.
. sincerely, Zenon Farias Braga F. From: "Mick Sullivan" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Closing ResultSet and Statement? Date: Mon, 19 Mar 2001 20:48:31 - Hi Does anyone know how to close a ResultSet? Heres my code: public String getNam

RE: Closing ResultSet and Statement?

2001-03-20 Thread CPC Livelink Admin
which closes the resultset. Regards, Paul -Original Message- From: Zenon Braga F. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 9:49 AM To: [EMAIL PROTECTED] Subject: Re: Closing ResultSet and Statement? I'm not sure, but I think that you don't close a ResultSet, you

Closing ResultSet and Statement?

2001-03-19 Thread Mick Sullivan
Hi Does anyone know how to close a ResultSet? Heres my code: public String getName() throws Exception { Statement statement = connection.createStatement(); int myInt = 1; ResultSet rs = statement.executeQuery("SELECT Name"+ " FROM

RE: Closing ResultSet and Statement?

2001-03-19 Thread William Kaufman
Does anyone know how to close a ResultSet? Note that this isn't a Tomcat question: there are newsgroups and mailing lists specifically for JDBC. Heres my code: public String getName() throws Exception { Statement statement = connection.createStatement(); int

RE: Closing ResultSet and Statement?

2001-03-19 Thread Dianne Cree
rs.close, isn't it? -Original Message- From: Mick Sullivan [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 12:49 PM To: [EMAIL PROTECTED] Subject: Closing ResultSet and Statement? Hi Does anyone know how to close a ResultSet? Heres my code: public String getName() throws

RE: Closing ResultSet and Statement?

2001-03-19 Thread Dianne Cree
sorry, rs.close is asp. the correct java code came a few mails ago -Original Message- From: Dianne Cree [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 2:25 PM To: [EMAIL PROTECTED] Subject: RE: Closing ResultSet and Statement? rs.close, isn't it? -Original Message

RE: Closing ResultSet and Statement?

2001-03-19 Thread Grewal, Gary
Title: RE: Closing ResultSet and Statement? You close the statement Object by calling .close() on it. === Gary Grewal -Original Message- From: Dianne Cree [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 4:33 PM To: [EMAIL PROTECTED] Subject: RE: Closing ResultSet

RE: Closing ResultSet and Statement?

2001-03-19 Thread Grewal, Gary
Title: RE: Closing ResultSet and Statement? or you can even close the Connection object by calling .close() on it. this will close all the underlying statement and ResultSet Object. I hope this is what you meant by close. === Gary Grewal Contractor NEC America Phone: 214-262-5911 E-Mail