問題文
An entity class carries Bean Validation constraints on its persistent fields, and nothing else is configured. When does the persistence provider check those constraints?
選択肢
- Immediately after the PrePersist, PreUpdate and PreRemove lifecycle events, so the check runs for a first write, for a change and for a deletion alike
- Immediately after the PostPersist, PostUpdate and PostRemove lifecycle events, so the check runs once the row has reached the data store
- Immediately after the PostLoad, PostConstruct and PreDestroy lifecycle events, so the check runs when the container hands the instance over
- Immediately after the PrePassivate, PostActivate and PostLoad lifecycle events, so the check runs around the pauses of a conversation