Give an example for execution of sql statement.
No Answer is Posted For this Question
Be the First to Post Answer
What is the most common example type 1 driver?
Explain the two tier and three tier architecture of jdbc.
Difference between Dirty, commited ,phantom,repeatable reads?
How a driver can be loaded?
is java pure object oriented or not ?
State the different connection methods used for creating different types of sql.
Which constraint cannot be specified as an explicit constraint and should be specified with the column only ?
What are the functions of the jdbc connection interface?
What is meant by a ResultSet?
Hi my doubt is that preparedStatement is a interface means which has no implemenation.plz go thru the code below String sql = "SELECT * FROM movies WHERE year_made = ?"; prest = con.prepareStatement(sql); prest.setInt(1,2002); ResultSet rs1 = prest.executeQuery(); Now setInt and executeQuery how it works since it is interface it does not have implementation how it works, how executeQuery returns result from database as executequery method has no implementation even in Statement interface.
4 Answers Cybermate, Hexaware,
which scenarios we go for jdbc,and which scenario we go for connection polling and wat r advantages and disadvantages using connection pooling.
When do we use execute method in java jdbc?