Following is a way by which JDBC works -
- First of Java application establishes connection with the data source.
- Then Java application invokes classes and interfaces from JDBC driver for sending queries to the data source.
- The JDBC driver connects to corresponding database and retrieves the result.
- These results are based on SQL statements which are then returned to Java application.
- Java application then uses the retrieved information for further processing.
0 comments:
Post a Comment