#JDBC Drivers

8 messages · Page 1 of 1 (latest)

vast zenith
#

I'm unable to understand some flow charts for JDBC, so I'm attaching 2 flow charts from Wikipedia, one for TYPE 1 JDBC and another for TYPE 4 JDBC. So in Type 1, we have a database library, but in Type 4, it is not there, so what is the meaning of that? What is the use of that?

As far as I'm able to understand, it converts the ODBC calls to database calls. But I want to know more, like, for example, if I want to get all the records from the STUDENTS table, then I will use the command:: SELECT * FROM STUDENTS. So now the database library API is converting this command with something else or im wrong.

Thank you ping me if u reply

valid fiberBOT
#

This post has been reserved for your question.

Hey @vast zenith! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

royal peak
#

I wouldn't get too deep into the weeds of how jdbc works under the hood. AFAIK most popular drivers are written in plain Java, and have no translation layer to any native or ODBC driver. The whole point being you can use them anywhere.

#

Looking at the images I think this is an older way of doing things tbh

valid fiberBOT
# vast zenith thanks for the response

If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.