Application that use JDBC require JDBC drivers. JDBC drivers are software libraries that communicate between a java application and a database. All JDBC drivers follow the API defined in java SE . There are four type of drivers available distinguished by their architecture they are: Type 1: JDBC-ODBC Bridge This is an old type when the jdbc is started ODBC is the dominant model to communicate with the data base. And java first communicate with database through ODBC. -communicates through ODBC drivers installed on client Can talk to any database But -not 100% Java and not portable -drivers must be on the same computer as application -the ODBC driver must match the database version Type 2:native API/partly Java Communicates through OS specific Api Better performance than JDBC/ODBC Bridge But -not 100% Java and not portable -native API driver must be
Master Core Java, JSP, Servlet, Hibernate, Maven, Spring, and more with our comprehensive tutorials and guides. Start learning today!