Programming Tutorials

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