Sail E0 Webinar
Question
DAO methods require access to the session factory, which can be injected:-
Options:
A .  a setter method
B .  constructor argument
C .  none of the mentioned
D .  all of the mentioned
Answer: Option D


To use the contextual session approach, your DAO methods require access to the session factory, which can be injected via a setter method or a constructor argument.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers