Just Spring Data Access
- Length: 78 pages
- Edition: 1
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2012-06-16
- ISBN-10: 1449328385
- ISBN-13: 9781449328382
- Sales Rank: #4861916 (See Top 100 Books)
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
Donate to keep this site alive
How to download source code?
1. Go to: https://www.oreilly.com/
2. Search the book title: Just Spring Data Access
, sometime you may not get the results, please search the main title
3. Click the book title in the search results
3. Publisher resources
section, click Download Example Code
.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.