Just Spring Data Access

Front Cover
"O'Reilly Media, Inc.", Jun 9, 2012 - Computers - 61 pages

JDBC has simplified database access in Java applications, but a few nagging wrinkles remain—namely, persisting Java objects to relational databases. With this book, you’ll learn how the Spring Framework makes that job incredibly easy with dependency injection, template classes, and object-relational-mapping (ORM).

Through sample code, you’ll discover how Spring streamlines the use of JDBC and ORM tools such as Hibernate, the Java Persistence API (JPA), and Java Data Objects (JDO). If you’re a Java developer familiar with Spring (perhaps through O’Reilly’s Just Spring tutorial) and want to advance your data access skills, this book shows you how.

  • Learn how to use Spring’s basic and advanced data access tools
  • Work with Spring’s JdbcTemplate class to separate non-critical code from business code
  • Eliminate placeholder variables in your queries with the NamedParameterJdbcTemplate class
  • Use Spring’s template classes to perform batch executions
  • Operate inserts on database tables without writing any SQL statements
  • Learn about Spring’s support for Hibernate as an object-relational-mapping tool
  • Use JPA as a standards-based ORM—alone or with Spring support
  • Move data from a relational to a non-relational database with JDO
 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

Chapter 1 Basics
1
Chapter 2 Advanced Concepts
15
Chapter 3 Hibernate
29
Chapter 4 Spring JPA
41
Chapter 5 Spring JDO
53
Copyright

Other editions - View all

Common terms and phrases

About the author (2012)

Madhusudhan Konda is an experienced Java consultant working in London, primarily with investment banks and financial organizations. Having worked in enterprise and core Java for the last 12 years, his interests lie in distributed, multi-threaded, n-tier scalable, and extensible architectures. He is experienced in designing and developing high-frequency and low-latency application architectures. He enjoys writing technical papers and is interested in mentoring.

Bibliographic information