| Author |
JDBC basics
|
rajaraman navaneethan
Ranch Hand
Joined: Feb 26, 2005
Posts: 85
|
|
dear friends, i am new to JDBC,just trying out with my steps in JDBC.can any one of u explain me how the following lines work? class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc dbc sn"); Statement st=con.createStatement(); Resultset rs=st.executeQuery("select * from table"); i want to know about the interfaces,classes and where the methods of these interfaces are implemented.awaiting ur reply, regards, raja
|
 |
Adeel Ansari
Ranch Hand
Joined: Aug 15, 2004
Posts: 2874
|
|
|
javadocs is my best bet.
|
 |
Shrinivas Mujumdar
Ranch Hand
Joined: Aug 27, 2004
Posts: 328
|
|
Hello, You will get the details of these methods in java doc. but these methods are implemented in Driver you select(especially the Interface methods).classes used are concrete classes so implementation is with themselves. Regards Shrinivas
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26138
|
|
Raja, Please don't post the same question multiple times. Please continue discussion in this thread
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
|
|
subject: JDBC basics
|
|
|