JDBC insert example (Statement)
In this blog we will insert a record into the database using Statement. For this we need to add following dependencies into our pom.xml. Continue Reading
In this blog we will insert a record into the database using Statement. For this we need to add following dependencies into our pom.xml. Continue Reading
In the previous post we saw how to create table with Statement. And now we will create the table with PreapareStatement.
In this example we can see how we can create a table with jdbc statement. In the pom.xml we need to add following two dependencies:
In this example I will show how to connect to mysql with JDBC driver. Let’s create the maven project with following pom.xml