Created
May 22, 2016 12:17
-
-
Save abhirockzz/ffb4c77e5fed0c676a0377fc864fe0b1 to your computer and use it in GitHub Desktop.
A simple JPA entity with explicit L2 caching metadata
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Entity | |
@Table("EMPLOYEES") | |
@Cacheable(true) | |
public class Employee { | |
//rest of the code... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment