Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers

Which one of the following statements is NOT true about the following code: @Service("jpaStudentService") @Repository @Transactional public class StudentServiceImpl implements StudentService { private Log log = LogFactory.getLog(StudentServiceImpl.class); @PersistenceContext private EntityManager em; // Other code omitted }

@Service is to identify that this class is a spring component providing business services.
@Transactional annotations describes transaction attributes of the class.
@PersistenceContext is a Spring annotation which instructs Spring to inject a SessionFactory
@Repository instructs Spring to translate the vendor-specific exceptions to Springs's DataAccessException hierachy.
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon