| Author |
Regarding createStatement();
|
Senthil Kumar
Greenhorn
Joined: Jul 17, 2007
Posts: 21
|
|
Hi Friends!!..
I heard from my friend that he got a interview question that
createStatement() is in which CLASS ?
i found createStatement() is a method which is in java.sql.Connection interface .
which class has createStatement() code ? or In which class this createStatement() exists.
please let me know.
Thanks in advance.
|
Preparing for SCJP 1.6
|
 |
Vijitha Kumara
Bartender
Joined: Mar 24, 2008
Posts: 3670
|
|
which class has createStatement() code ? or In which class this createStatement() exists.
It is in the interface implementation class provided by the vendor (i.e: within the JDBC driver package).
|
SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
|
 |
Senthil Kumar
Greenhorn
Joined: Jul 17, 2007
Posts: 21
|
|
|
Okay Vijitha Kumara. Thanks
|
 |
ashok bantu
Greenhorn
Joined: Jan 30, 2009
Posts: 10
|
|
Vijitha Kumara wrote:
which class has createStatement() code ? or In which class this createStatement() exists.
It is in the interface implementation class provided by the vendor (i.e: within the JDBC driver package).
Hi can please mention the exact class name
|
 |
Bauke Scholtz
Ranch Hand
Joined: Oct 08, 2006
Posts: 2458
|
posted

0
|
|
Depends on the JDBC driver used. Read the documentation which come along with it.
|
Code depot of a Java EE / JSF developer | JSF / Eclipse / Tomcat kickoff tutorial | DAO kickoff tutorial | I ♥ Unicode
|
 |
 |
|
|
subject: Regarding createStatement();
|
|
|