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
In which ways is driver class is registered with drive manager?
How can we execute stored procedures using callablestatement?
What are the exceptions in jdbc?
What does the jdbc resultsetmetadata interface?
What is getconnection method in java?
Explain the difference between resultset and rowset in jdbc
What is layer in communication?
What are 4 drivers available in JDBC? At what situation are four of the drivers used?
Explain jdbc savepoint?
How to rollback a JDBC transaction?
What is data source in java?
What is the most common example type 1 driver?
What are temp tables ?
What is ojdbc?
How many types of jdbc drivers are available?