My Report

Spring Practice Test 6


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. Sessionfactory can manage contextual sessions for you and allows you to retrieve them by the:-

2. For mapping and persisting your objects with Hibernate and JPA.

3. SimpleJdbcTemplate offers a convenient batch update method in the form of:-

4. Class which represents a real-world entity and its instances will be persisted to a database.

5. The exceptions thrown by Hibernate are of type HibernateException, while those thrown by JPA may be of type PersistenceException.

6. Which DataSource is not stable in MultiThreaded Environment?

7. You can chain multiple handler mapping annotations as required to portlet.

8. Spring also provides several convenient but less powerful data source implementations.

9. To use the context injection approach, you can declare an entity manager field in your DAO and annotate it with the @PersistenceContext annotation.

10. JDBC Properties for Connecting to the Application Database.


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.