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 is a lock in jdbc?
How do java applications access the database using jdbc?
Name the types of jdbc drivers.
What is jdbc databasemetadata interface?
What are the different types of statements in jdbc?
Where jdbc drivermanager class is used?
What is a jdbc url?
How do I connect to jdbc?
What is a java driver?
What class.forname will do while loading drivers of jdbc?
What does the jdbc resultsetmetadata interface?
Is jpa faster than jdbc?
What are the three parts of a jdbc url?
What is the JDBC syntax for using a literal or variable in a standard Statement?
What is com mysql jdbc driver?