What is benefit of using preparedstatement in java?
No Answer is Posted For this Question
Be the First to Post Answer
What is the role of class.forname while loading drivers?
What are the different types of statements? How we can you use preparedstatement.
java based application for hospital management
What protocol does jdbc use?
What are the benefits of PreparedStatement over Statement?
What is meant by connection string?
What is the return type of execute, executequery and executeupdate?
In which ways is driver class is registered with drive manager?
MY code is: public class P1{ public static void main(String ar[]) { class.forName("java.lang.String"); } } errors i got are :New.java:5: error: <identifier> expected class.forName("java.lang.String"); ^ New.java:5: error: invalid method declaration; return type required class.forName("java.lang.String"); ^ New.java:5: error: illegal start of type class.forName("java.lang.String"); ^ New.java:7: error: reached end of file while parsing } ^ 4 errors HELP ME>......
Why do we need jdbc driver?
What is metadata in jdbc?
If you are given a choice to implement the code to either insert a record or update if already exist, which approach will you follow ?