フリー問題

Java EE 7 Application Developer のフリー問題 6 / 20 問目

問題文

An entity class carries Bean Validation constraints on its persistent fields, and nothing else is configured. When does the persistence provider check those constraints?

選択肢

  1. 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
  2. Immediately after the PostPersist, PostUpdate and PostRemove lifecycle events, so the check runs once the row has reached the data store
  3. Immediately after the PostLoad, PostConstruct and PreDestroy lifecycle events, so the check runs when the container hands the instance over
  4. Immediately after the PrePassivate, PostActivate and PostLoad lifecycle events, so the check runs around the pauses of a conversation

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。