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



Ask a Question

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. Thank you for this useful script! It works very we
View Tutorial          By: Giuseppe at 2010-12-09 05:35:43

2. Hello,
i was run your given program in ecli

View Tutorial          By: vishnu chauhan at 2013-01-24 11:42:16

3. it shows error
java.lang.NoClassDefFoundEr

View Tutorial          By: vamsi at 2010-05-14 23:09:03

4. very good tutorial
View Tutorial          By: Anonymous at 2009-06-13 01:14:25

5. Only first row is exported, help to export all the
View Tutorial          By: Achyut at 2014-12-18 04:26:26

6. Sencillo y directo. No se podía explic
View Tutorial          By: Eligio at 2013-09-03 05:26:35

7. this helped a lot!!!!
View Tutorial          By: karthik rk at 2012-09-04 16:32:25

8. its a big help!..thankz
View Tutorial          By: mezer at 2013-07-17 05:34:07

9. I am very much thankfull to you in providing the c
View Tutorial          By: c vijaychandar at 2010-05-05 10:14:59

10. Actually, looking at the code, it looks as somethi
View Tutorial          By: Johnson at 2009-07-28 08:14:38