I have JPA entities where some properties are annotated with @Transient.
@Transient
Should I use these properties in equals/hashCode/toString methods?
equals/hashCode/toString
Exception maybe comes from letting it be transient and at the same time you provide writeObject() and readObject() where you process it.
transient
writeObject()
readObject()