How can I connect mysql or oracle with java?
No Answer is Posted For this Question
Be the First to Post Answer
What is a Connection?
While in CallableStatament using in the oracle my procedure is return no.of columns so in java how can i retrivbe the data and i wnat to view all data which is reetrive from my procedure
Give me some example for getting connection from connection pooling in JBoss Server. Is Connection Pool default in Server or we have to create it? Who can create Connection Pool in a Team. How it will be accessed by the developer code?
can we define indexes on a foreign key? Explain pros and cons?
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 we store procedure in oralce for callable statements in jdbc
What are the classes and methods used for sending sql statements to database?
How do find debugging problems related to JDBC API?
What does executeupdate return in java?
What are static and dynamic queries?
please tell me the name and url path for type-4 driver ?
Name the method, which is used to prepare a callablestatement.