package beaform.entities;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Tag {

	@Id
	private String name;

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return this.name;
	}
}

@@ -20,16 +20,46 @@
 ities;%0A%0A
+import java.io.Serializable;%0A%0A
 import j
@@ -138,17 +138,124 @@
 ass Tag 
-%7B
+implements Serializable %7B%0A%0A%09/**%0A%09 *%0A%09 */%0A%09private static final long serialVersionUID = 8568943568088422588L;
 %0A%0A%09@Id%0A%09

Make Tag serializable