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. required the flag set loop stutruce .............
View Tutorial          By: savita at 2013-05-12 04:52:30

2. Answer for Comment 4 :

" n=n++

View Tutorial          By: NewB_of_java at 2012-02-16 16:52:05

3. Hello
thanks for nice tutorial. I have one

View Tutorial          By: Chanchal Prajapat at 2015-02-09 06:10:42

4. Sorry, please disregard my previous comment... Tha
View Tutorial          By: choco at 2010-01-03 02:21:09

5. dat is wat i want to jegay with you ,......dats ko
View Tutorial          By: dorji wangmo at 2011-12-27 05:38:35

6. Hello sir pls send me
com.sun.speech.freett

View Tutorial          By: sana at 2011-12-23 16:16:24

7. Can some body throw more light on TRANSIENT ....
View Tutorial          By: Anish at 2010-08-03 07:30:58

8. How to fix this Error.....

org.apac

View Tutorial          By: james prabhakaran at 2014-12-02 13:08:30

9. whoo... its very hard
View Tutorial          By: Anonymous at 2009-01-13 20:17:20

10. I need a sample example using checkbox in struts.t
View Tutorial          By: Nandhu at 2011-02-25 07:45:39