what is the best way, in terms of performance, to do multiple insert/update statements, a PreparedStatement or Batch Updates?
2 4555Hi 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 9532HI ALL, How to Overcome "OutOfMemoryException"? when I am compiling source having more than 1000 LOC throwing this exception. Can any one give correct answer to my question? thx
5 6690How to create Connection interface object because it is Interface , Interface is not instansiated?
9 18956What is
any one can explain about policy file rule? when i connect database with applet then ther is no compile time error but the run time error is occureed.i.e access is denied.policy file rule is related to this problem.
2252
How to test jdbc connection to sql server?
Why resultset is used in java?
What is JDBC DataSource and what are it’s benefits?
What is ojdbc14 jar?
How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database?
Which jdbc drivers will run your program?
What is the feature of jdbc v4?
What are the 4 types of jdbc drivers?
What does adapter class provide?
Which constraint cannot be specified as an explicit constraint and should be specified with the column only ?
What are devices?
What is difference between jdbc and odbc?
Is jdbc part of j2ee?
What are the steps to connect to a database in java?
When do we get java.sql.SQLException: No suitable driver found?