Internals of database connectivity in java
Java Database Connection Database connection in java is very important process in JDBC. This post is for demonstrating internals of java database connectivity. In this post we will get to know How to connect with database in java, Java database connectivity, internals of database connectivity in java. I will also give a sample example of java database connectivity. For database connection we need to import some packages and need to use some special methods. Before getting into deep I will explain about these methods and packages. Following is details of how to connect with database. Step by step explanation of Java database connection- 1. Import Package- For creating database connection you need some functions and classes. These functions and classes are found in a package so we need to import that package using "import java.sql.*". 2. Loading Driver- Driver is required for conversion of sql statements into back end database understandable form and vice ve...