How do I check in my code whether a maximum limit of database connections have been reached?
No Answer is Posted For this Question
Be the First to Post Answer
What is Apache DBCP API?
wahts is mean by primary key and unique key?
What is jdbc dialect?
How you restrict a user to cut and paste from the html page using java programing?
What does executeupdate return in java?
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,
How do I connect to jdbc?
How we say that PreparedStatment is Precompiled? where it will be compiled?
What are the types of statements in jdbc?
What are temp tables ?
What are static and dynamic queries?
What is execute(), executeUpdate() and executeQuery() methods?