Hibernate, Spring & Struts Interview Questions You'll Most Likely Be Asked
eBook - ePub

Hibernate, Spring & Struts Interview Questions You'll Most Likely Be Asked

Vibrant Publishers

Share book
  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Hibernate, Spring & Struts Interview Questions You'll Most Likely Be Asked

Vibrant Publishers

Book details
Book preview
Table of contents
Citations

About This Book

  • 300 Hibernate, Spring & Struts Interview Questions
  • 78 HR Interview Questions
  • Real life scenario based questions
  • Strategies to respond to interview questions
  • 2 Aptitude Tests

Hibernate, Spring & Struts Interview Questions You'll Most Likely Be Asked is a perfect companion to stand ahead above the rest in today’s competitive job market. Rather than going through comprehensive, textbook-sized reference guides, this book includes only the information required immediately for job search to build an IT career. This book puts the interviewee in the driver's seat and helps them steer their way to impress the interviewer.

The following is included in this book:

(a) 300 Hibernate, Spring & Struts Interview Questions, Answers and proven strategies for getting hired as an IT professional

(b) Dozens of examples to respond to interview questions

(c) 78 HR Questions with Answers and proven strategies to give specific, impressive, answers that help nail the interviews

(d) 2 Aptitude Tests download available on www.vibrantpublishers.com

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Hibernate, Spring & Struts Interview Questions You'll Most Likely Be Asked an online PDF/ePUB?
Yes, you can access Hibernate, Spring & Struts Interview Questions You'll Most Likely Be Asked by Vibrant Publishers in PDF and/or ePUB format, as well as other popular books in Ciencia de la computación & Programación en JavaScript. We have over one million books available in our catalogue for you to explore.

Information



INDEX



Hibernate, Spring and Struts Interview Questions


Hibernate


Hibernate Interfaces
1: Explain Database Transaction management using Transaction Interface.
2: What are the core interfaces available in hibernate?
3: What is SessionFactory? Is it thread-safe object?
4: How will you create SessionFactory object?
5: What is Session? Is it a thread safe object?
6: Explain about Criteria in hibernate.


Hibernate Configuration
7: How do you configure hibernate?
8: What are the important tags of hibernate configuration file (hibernate.cfg.xml)?
9: Why column attribute is required if the property name is “date”?
10: How will you get hibernate statistics?
11: How will you make generated sql to be displayed in console?
12: How are the columns of the database mapped with the java class properties in hibernate?
13: If you want to insert data for few columns into a large table with hundreds of columns, hibernate will generate the insert sql query at run time containing all the table columns which will create performance issue. How will you make the hibernate to generate dynamically generated sql queries containing only the necessary columns? For instance, it should not include the null columns / property values.
14: What is the flow of hibernate communication with database?
15: How will you configure Sequence generated primary key?
16: How will you change one relational database to another database without code changes?
17: What is dynamic-insert and dynamic-update option in the class mapping?
18: How will you configure Hibernate to access the instance variables directly without using setter method?
19: What is Automatic Dirty checking in hibernate?
20: Write down a sample code for Automatic Dirty checking.
21: How hibernate is database independent and what are the changes required?
22: How will you include hibernate mapping file in the hibernate configuration file?


Criteria Queries
23: What are the ways in which object can be fetched from the database in hibernate?
24: What is the use of Restrictions class?
25: How will you write criteria query to retrieve records having dept_name containing “hr” and emp_salary between 20000 and 30000?
26: How will you sort the employee class in descending order by employee salary using Criteria query?
27: How will you find out the maximum salary from Employee class?
28: What are the methods available in Projections class?
29: How will you implement pagination using criteria query?
30: What are the disadvantages of Criteria query?
31: How is the Primary Key created using Hibernate?
32: How do you create hibernate generated Primary Key?


Persistent Classes
33: What are Tuplizers?
34: Why can’t we declare a Hibernate persistent class as final?
35: What are the best practices that we need to follow while creating Persistent class?
36: How will hibernate instantiate the persistent classes?
37: What are the functionalities available for the POJO classes which declare identifier property?
38: What are the methods to be overridden in POJO?
39: What is meant by Named SQL query?
40: How will you invoke Stored Procedures?


Object States
41: What is the difference between the Transient and Detached states?
42: What are the types of instance/object states?
43: When does an object come to detached state?
44: How would you ...

Table of contents