I dont agree with your statement abou POJOs. If POJO doesnt implement any thing then why we implement an interface serializable in a persistance class with hibernate. for example look at the code below.
Code:
import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Entity
Leave a comment: