• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is native API?

 
abhishek kunal
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • 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??
 
K. Tsang
Bartender
Posts: 3348
12
Android Java
  • Mark post as helpful
  • send pies
  • 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.
 
Sebastian Janisch
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic