Please help- My application was working fine until today. Today I got the exception "could not deserialize". java.io.eofException. And sometimes I was able to get the data. The problem was intermittent. What could be the issue here?
@Entity
@Cacheable
@Cache(usage = CacheConcurrencyStrategy.TRANSACTIONAL)
public class Filter {
private int id;
private String name;
private User user;
private NameValue[][] filterMap;
@Id
@GeneratedValue(strategy=GenerationType.SEQUENCE)
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@ManyToOne(
targetEntity = User.class
)
@JoinColumn(name="userName")
public User getUser() {
return user;
}
public void setUser(User user) {
this.user = user;
}
@Lob
public NameValue[][] getFilterMap() {
return filterMap;
}
public void setFilterMap(NameValue[][] filterMap) {
this.filterMap = filterMap;
}