• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jdbc Drivers and statments???

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all ranchers,

I need the material in which jdbc drivers (all the 4 types) and the statments are specified clearly.
could you tell me the link on which i can get the soft copy of that....

i need it very urgently..

Please help me out in this..

Thanking in advance...
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is it that you need? Please be more specific.
 
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have a JavaRanch driver description with a chart and Sun has one.
 
Amitkumar Dhama
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi david,

i need only that much, all the four driver with explanation and the statments with clear explanation, i would be happy if you could tell me the link where i can get the explanation of these.

The explanation given in the previous link are not enough for me.

Please help me out
Thanking in advance
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The four driver types are already explained in the page that Jeanne gave you a link to.

Now, can you please explain what you mean with "...and the statments"?
 
Amitkumar Dhama
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i wanna know,

Object returned by the invocation of

connect.createStatment();

Like
1. Prepared stmt
2. collable stmt

i think that now it is clear to you...
 
Bartender
Posts: 1844
Eclipse IDE Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The type of statement returned is not a primarily a function of the driver, but rather a function of the method called on the Connection object.

"createStatement" will create a Statement object.
"prepareStatement" will create a PreparedStatement object.
etc.

Secondarily, the drivers determine the type, but only that if you use the Oracle Driver, you might get an "OraclePreparedStatement" where with the MySQL driver you get a "MySQLPreparedStatement." But those details should be unimportant -- you only need be concerned with the fact that you have a PreparedStatement and let the underlying implementation manage itself.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic