Sarang Vandara Advance Java
It should be executeUpdate() instead of only execute..
only execute() returns multiple result but for INSERT, UPDATE, or DELETE executeUpdate() is used..
refer:http://docs.oracle.com/javase/1.4.2/docs/api/java/sql/Statement.html
only execute() returns multiple result but for INSERT, UPDATE, or DELETE executeUpdate() is used..
refer:http://docs.oracle.com/javase/1.4.2/docs/api/java/sql/Statement.html
Joydip Panchal likes this
Sarang Vandara