title: JPA 2: How many methods are allowed in one entity with @Prepersist annotation?
body: <p>In JPA 2, how many methods can be declared with annotations like <code>@PrePersist</code> and in which order these methods are executed? Sometimes we also create different class for listener and apply this class on entity using <code>@EntityListener</code> annotation and we also declare methods in entity, so what is the order of execution of these methods?</p>