what is the best way, in terms of performance, to do multiple insert/update statements, a PreparedStatement or Batch Updates?
2 4533Hi 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 9487HI 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 6644How to create Connection interface object because it is Interface , Interface is not instansiated?
9 18884What 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.
2239
How do java applications access the database using jdbc?
Can we have foreign key reference to a non primary key column ?
How can we retrieve data from the resultset?
What are the basic exceptions in jdbc?
How vendor Naming registry supports JNDI?
Which database is used with java?
What is sqlwarning?
What are the measures to connect to the db using jdbc?
Is jpa faster than jdbc?
How can you create jdbc statements?
Which jdbc drivers will run your program?
Which is faster jdbc or odbc?
explain about special characters?
Is jdbc a protocol?
What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?