
How can an application reduce this verbosity with JDBC? Spring JDBCTemplate is a powerful mechanism to connect to the database and execute SQL queries. However, an Object-relational impedance mismatch that brings a set of conceptual and technical difficulties is often encountered when an RDBMS is being served by an application program written in an object-oriented programming language.Ī solution might use JDBC, but it increases the complexity to handle data and Java. Mapping frameworks such as ORM reduces a lot of boilerplate, reduces the duplicated code, avoids bugs, and doesn’t reinvent the wheel. This tutorial will cover a way to simplify the code with JDBC using the Spring JDBC Template. However, the ORM brings several issues, and sometimes it does not sense to use it and then use it a Java Communication layer or JDBC.


There are several tools such as Hibernate, Eclipse Link, JPA specification, and so on. As with any programming language, Java has several tools to make easy integration between the language and the database.
