Comment on Tutorial - A simple JDBC application sample code By Ramlak



Comment Added by : Rishi Raj

Comment Added at : 2011-07-08 13:50:11

Comment on Tutorial : A simple JDBC application sample code By Ramlak
In line No. 23, change stmd to stmt.
ResultSet rs = stmd.executeQuery("select moviename, releasedate from movies"); //wrong

ResultSet rs = stmt.executeQuery("select moviename, releasedate from movies"); //right


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. it's cool
View Tutorial          By: RInam Shah at 2011-06-20 02:48:20

2. i manage to download all the 5 part and compile th
View Tutorial          By: Selva at 2008-04-09 07:53:09

3. I have a sample code in which,

obje

View Tutorial          By: Tan Mi at 2011-10-25 23:24:10

4. what is the return type for clicker method? The pr
View Tutorial          By: Gautam at 2013-10-14 15:36:27

5. i got an error msg at runtime of jdbc program with
View Tutorial          By: madhu sudan at 2012-06-17 02:52:53

6. Dear All , I have query reg hibernate with WAS /WP
View Tutorial          By: pmr at 2011-07-18 02:58:08

7. I am new in Java and got good information to under
View Tutorial          By: Umesh Kumar at 2012-01-25 08:42:07

8. for(i=0;i<10;i++)
for(j=0;j<90;j++)
View Tutorial          By: karthikeyan at 2012-05-23 05:33:10

9. hello can u send me the code in java to send and r
View Tutorial          By: somanath at 2011-02-17 01:28:40

10. Good One..
View Tutorial          By: Subhranil Mukherjee at 2015-03-11 07:22:18