JdbcTemplate: Difference between revisions
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
==Object IDs== | ==Object IDs== | ||
* When persisting objects in a relational database, it is generally a good idea to have one field in the object that uniquely identifies the object. See [[Relational Databases#Object_IDs]]. | |||
==Repository== | ==Repository== |
Revision as of 20:12, 14 October 2018
Internal
Overview
Basic persistence with JDBC is supported by the Spring Framework with JdbcTemplate. JdbcTemplate provides the means by which developers can perform SQL operations against a relational database without the need to retort to verbose JDBC low-level API. With JdbcTemplate, the interaction with the database is reduced to specifying the query and how to map the result of the query to the domain model object.
Concepts
Object IDs
- When persisting objects in a relational database, it is generally a good idea to have one field in the object that uniquely identifies the object. See Relational Databases#Object_IDs.