Skip to content
Permalink
Browse files
spring cache enabled
  • Loading branch information
fiammara committed Oct 16, 2019
1 parent 52a945f commit 6b7d62b10c2843a80866309d0f050de47acd5850
Showing 2 changed files with 8 additions and 1 deletion.
@@ -91,7 +91,12 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>


<!-- Cache -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cache</artifactId>
</dependency>
</dependencies>

<build>
@@ -15,13 +15,15 @@
import org.apache.juneau.rest.springboot.JuneauRestInitializer;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
* Entry point for PetStore application.
*/
@SpringBootApplication
@EnableJpaRepositories(basePackages = "org.apache.juneau.petstore")
@EnableCaching
@SuppressWarnings("javadoc")
public class App {

0 comments on commit 6b7d62b

Please sign in to comment.