remove ehcache support as it does not provide a performance boost (fix #264)

This commit is contained in:
Athou
2013-06-07 13:27:41 +02:00
parent 6af55dfdb6
commit 4edb481fea
12 changed files with 0 additions and 93 deletions

View File

@@ -2,7 +2,6 @@ package com.commafeed.backend.model;
import java.util.Set;
import javax.persistence.Cacheable;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
@@ -12,14 +11,9 @@ import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
@Entity
@Table(name = "FEEDSUBSCRIPTIONS")
@SuppressWarnings("serial")
@Cacheable
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class FeedSubscription extends AbstractModel {
@ManyToOne(fetch = FetchType.LAZY)