【发布时间】:2012-10-05 18:09:18
【问题描述】:
请帮助 - 我的应用程序运行良好,直到今天。今天我得到了“无法反序列化”的异常。 java.io.eofException。有时我能够获得数据。问题是间歇性的。这里可能是什么问题?
@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;
}
【问题讨论】:
-
你能提供更多细节吗?可能是堆栈跟踪