Skip to content

Navigation Menu

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

TechPrimers/spring-boot-lazy-init-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Lazy Initialization example

Versions Used

  • Spring Boot - 2.2.0-M1
  • H2 Database - 1.4.197

Configuration

spring.main.lazy-initialization is set to false by default. This can be set to true to enable Lazy Initialization in the Spring Boot Project.

Alternatives

  • http://localhost:8080/lazy - Uses LazyController and LazyService which can be marked manually as @Lazy for specific Beans

About

Spring Boot 2.2+ Lazy Initialization Example

Topics

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.