Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

iizdebski/AsyncQueryResultsSpringData

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AsyncQueryResultsSpringData

Implementation of Async query result in Spring data JPA using a demo project DB - demojpaquery

user, password = root;

CompletableFuture completableFuture = peopleManagementService.findByEmail("maya.m2018@gmail.com"); Person person = completableFuture.get(20, TimeUnit.SECONDS);

Repository queries can be executed asynchronously using Spring asynchronous method execution capability. This means the method will return immediately upon invocation and the actual query execution will occur in a task that has been submitted to a Spring TaskExecutor.

About

Implementation of Async query result in Spring data JPA using a demo project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.