• 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
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

What is native API?

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
we call type 2 driver as native -API driver?? is it just because of jbbc calls being converted into database specific calls??
i read this..Type 2 drivers need native binary code installed and configured to work....what is this native binary code?? is it just compiled code for database calls which this driver provides??
 
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe this will help http://www.jdbc-tutorial.com/jdbc-driver-types.htm

OK you know what "native" means in terms of programming? It's like low-level almost close to the real thing (like assembly, 1s and 0s for computer CPU and stuff). So for databases it's similar low-level only that particular dbms understands and most direct. So Oracle native API and MySQL native API would be different, implementation wise.
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A native implementation is mostly platform dependent. A lot of the Object's methods are native. The reason for that is because the native implementation is either faster or it also can be chose because you are closer to the hardware.
 
All that thinking. Doesn't it hurt? What do you think about this tiny ad?
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic