Book description
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
Table of contents
- Just Spring Data Access
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
- Foreword
- Preface
- 1. Basics
- 2. Advanced Concepts
- 3. Hibernate
- 4. Spring JPA
- 5. Spring JDO
- About the Author
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
- Copyright
Product information
- Title: Just Spring Data Access
- Author(s):
- Release date: June 2012
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449328382
You might also like
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
book
Spring Data
Want to make it easier to implement data access with your Spring-powered applications? Then this is …