Below is the difference between ODBC, OLEDB and JDBC.
ODBC:
ODBC is API for accessing DBMS
The full form of ODBC is Open Database Connectivity
OLEDB:
OLEDB is API that allows accessing data from a wide range of sources uniformly
The full form of OLEDB is Object Linking and Embedding Database.
JDBC:
JDBC is API for Java that defines how a client can access the database
The full form of JDBC is Java Database Connectivity.