Answer Posted / sowmya
prepared statement is the type of statement used to
interact with database.
To avoid syntactical complexities its the better approach
(eg:double quotes used with query strings)
we can insert many rows using single prepared statement.
eg:String str="insert into tab values("?,?,?")";
PreparedStatement stmt=con.prepareStatement(str);
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
What driver should I use for scalable Oracle JDBC applications?
What is the JDBC syntax for using a literal or variable in a standard Statement?
Is jpa faster than jdbc?
What are the utilities of the callablestatement?
What does executeupdate return in java?
What is 2 phase commit?
What is a java driver?
What is JDBC Statement?
Does jpa use jdbc?
What are the three parts of a jdbc url?
What is the meaning of “dirty read” in the database?
What is jdbc drivers in java?
What are the basic exceptions in jdbc?
What is preparedstatement in jdbc?
Which type of JDBC driver is the fastest one?