What is the JDBC API?
Java Database Connectivity (JDBC) is a standard Java API (application programming interface) for database-independent connectivity between Java applications and a wide range of databases. It consists of a set of classes and interfaces written in Java. It can establish a connection with a database, send SQL statements and process the results. It is defined by JavaSoft ( http://java.sun.com/products/jdbc ). The JDBC API defines Java classes to represent database connections, SQL statements, result sets, database metadata, etc. It allows a programmer writing in the Java programming language to issue SQL statements and process the results. JDBC is the primary API for database access in the Java programming language. The JDBC API is implemented via a driver manager that can support multiple drivers connecting to different databases. The JDBC classes are included in Java 1.1+ and Java 2 as the java.sql package. Why use the JDBC Interfaces? Depending on which product you are using, the use of
Related Questions
- Relational persistence: Most Java database programmers rely on the proven JDBC API. Why does SAP promote the newer standard, SQLJ?
- There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a ResultSet?
- Give one Example of static Synchronized method in JDBC API?