請幫助我的應用程序工作正常,直到今天。今天我得到了「無法反序列化」的例外。 java.io.EOFException的。有時我能夠獲取數據。問題是間歇性的。這裏可能是什麼問題?無法反序列化org.hibernate.type.SerializationException
@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;
}
你能提供更多細節嗎?可能堆棧跟蹤 – Anshu