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. the example is not at all working though i remove
View Tutorial          By: sanju at 2011-09-07 07:50:38

2. It is very useful for me guyzz......thanx.......:-
View Tutorial          By: Rajesh at 2012-09-29 10:11:45

3. plzzz xplain all d buzzwads.....
View Tutorial          By: sindhu at 2010-12-10 08:49:27

4. nice article..
View Tutorial          By: yummy at 2010-01-05 21:18:35

5. This is good for beginners.
View Tutorial          By: sathish at 2011-04-05 11:37:30

6. Respected sir,
I am trying to embed windows

View Tutorial          By: arshad at 2011-10-22 17:05:21

7. Hi,
I done very simple, just copy the strut

View Tutorial          By: sridhar at 2009-03-01 19:17:10

8. Assume scenario:
- i have set connection po

View Tutorial          By: Dan at 2012-02-22 09:48:46

9. hai, i tried the abvoe code, m getting the follwin
View Tutorial          By: anith at 2011-03-13 06:02:31

10. thanks it is nice
View Tutorial          By: Ajay at 2011-07-22 03:44:05