This article discusses performing batch operations using Spring JdbcTemplate. Prerequisite: Spring JDBC using Annotation based configuration Spring JdbcTemplate batch operations Batch operations reduce the number of trips to the database and improve the performance of the application. Using JdbcTemplate, we can group several statements together and run them in a batch. […]
Category: Spring JDBC
Spring JdbcTemplate : Performing insert, update, delete, select operations
This article explains JdbcTemplate in Spring and using it to perform CRUD operations. Prerequisite: Creating Spring JDBC project using Annotation based configuration Spring JdbcTemplate Spring JdbcTemplate hides the complexities of database interactions and provide a simple interface to use. It provides several methods for different database operations. We have created an […]
Spring JDBC using Annotation based configuration
In this article, we will create a Spring JDBC program using Maven. We will connect to a MySQL database using Spring and retrieve data from one of the tables. You can also refer the code from GitHub using the link provided at the end of the article. Tools/Technologies used: Maven Spring Eclipse MySQL […]