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. What is meant ClasspathResource why do we use it i
View Tutorial          By: anil kumar at 2008-06-03 05:41:36

2. hi guys.
i have downloaded the code for sen

View Tutorial          By: Tabrez Ansari at 2012-09-13 11:03:46

3. its easy to understand the complete history of jav
View Tutorial          By: Arun Tony at 2011-04-10 07:12:04

4. pls send me the brief description about jdbc conne
View Tutorial          By: vikas at 2011-08-09 07:07:53

5. really helpfull :) thanks
View Tutorial          By: Jagan at 2014-12-09 10:16:56

6. very nice..thank you so much.all the concepts are
View Tutorial          By: Priya at 2013-01-01 07:39:04

7. Hi All could you pls. send the execution of the ab
View Tutorial          By: subbu at 2008-01-28 03:14:27

8. why we use int with main
View Tutorial          By: praveen at 2012-03-26 04:28:20

9. thank u very much...............
View Tutorial          By: naveen at 2011-07-05 06:00:04

10. thks for help...
View Tutorial          By: Peps at 2010-01-05 02:34:15