don't index blobs

This commit is contained in:
Athou
2013-03-31 08:40:45 +02:00
parent 89c7a00ebf
commit 64439d36a2
3 changed files with 1 additions and 4 deletions

View File

@@ -11,8 +11,6 @@ import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Transient;
import org.hibernate.annotations.Index;
import com.google.common.collect.Sets;
@Entity
@@ -21,7 +19,6 @@ import com.google.common.collect.Sets;
public class Feed extends AbstractModel {
@Column(length = 2048, nullable = false, unique = true)
@Index(name = "feed_index")
private String url;
@Transient

View File

@@ -22,7 +22,6 @@ import org.hibernate.annotations.Index;
public class FeedEntry extends AbstractModel {
@Column(length = 2048, nullable = false, unique = true)
@Index(name = "guid_index")
private String guid;
@ManyToOne

View File

@@ -112,6 +112,7 @@ public class SubscriptionsREST extends AbstractREST {
@GET
@Path("deleteCategory")
public Response deleteCategory(@QueryParam("id") Long id) {
feedCategoryService.deleteById(id);
return Response.ok().build();
}