Skip to content
You are not logged in |Login  
     
Limit search to available items
Record:   Prev Next
Resources
More Information
Bestseller
BestsellerE-book
Author Kainulainen, Petri.

Title Spring Data Standard Guide.

Publication Info. Birmingham : Packt Pub., 2012.

Item Status

Description 1 online resource (355 pages)
text file
Contents Table of Contents; Spring Data; Spring Data; Credits; About the Author; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Preface; What this book covers; What you need for this book; Who this book is for; Conventions; Reader feedback; Customer support; Downloading the example code; Errata; Piracy; Questions; 1. Getting Started; Java Persistence API; Key concepts; Creating database queries; Native SQL queries; Java Persistence Query Language; The Criteria API; Redis; Supported data types; Persistence.
ReplicationPublish/subscribe messaging pattern; Summary; 2. Getting Started with Spring Data JPA; Downloading dependencies with Maven; Configuring the Spring application context; Creating the properties file; Creating the application context configuration class; Creating the application context configuration skeleton; Configuring the data source bean; Configuring the entity manager factory bean; Configuring the transaction manager bean; Loading the application context configuration; Implementing CRUD functionality for an entity; Domain model; Contact; Creating new contact objects.
Updating contact informationAddress; Creating new addresses; Updating address information; Creating a custom repository; Creating a custom repository in the old school way; Creating a custom repository with Spring Data JPA; CRUD; Create; Read; Update; Delete; Summary; 3. Building Queries with Spring Data JPA; Building queries; Query methods; Query generation from method name; Method prefixes; Property expressions; Keywords; Implementing the search function; Pros and cons; Named queries; Creating a named query; Creating the query method; Creating the service method; Pros and cons.
@Query annotationCreating the query method; Creating the service method; Pros and cons; JPA Criteria API; Adding the JPA Criteria API support to a repository; Creating the criteria query; Creating a static metamodel class; Creating specifications; Creating the service method; Pros and cons; Querydsl; Configuring Querydsl-Maven integration; Configuring Querydsl Maven dependencies; Configuring the code generation Maven plugin; Generating Querydsl query types; Adding Querydsl support to a repository; Creating the executed query; Executing the created query; Pros and cons.
What technique should we use?Sorting query results; Sorting with method name; Creating the query method; Modifying the service method; Sorting with query strings; JPQL queries; SQL queries; Sorting with the Sort class; JpaRepository; Query generation from the method name; @Query annotation; JPA Criteria API; Sorting with Querydsl; What technique should we use?; Paginating query results; Changing the service layer; Creating a class for pagination parameters; Changing the service interface; Creating PageRequest objects; Implementing pagination; JpaRepository.
Note Query generation from the method name.
Summary Implement JPA repositories and harness the performance of Redis in your applications.
Local Note eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - North America
Subject Java (Computer program language)
Java (Computer program language)
Application software -- Development.
Application software -- Development.
Genre/Form Electronic books.
Other Form: Print version: Kainulainen, Petri. Spring Data Standard Guide. Birmingham : Packt Publishing, ©2012 9781849519045
ISBN 9781849519052 (electronic book)
1849519056 (electronic book)