Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A simple JPA entity with explicit L2 caching metadata
@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