hibernate interview questions for senior developers

Read about hibernate interview questions for senior developers, The latest news, videos, and discussion topics about hibernate interview questions for senior developers from alibabacloud.com

Interview Questions (including answers) for spring, hibernate, and struts)

How does hibernate work and why?Principle:1. Read and parse the configuration file2. Read and parse the ing information and create sessionfactory3. Open sesssion4. Create transaction Transation5. Persistent operations6. Submit the transaction7. Disable session8. Disable sesstionfactory Why:1. The code for JDBC database access is encapsulated, which greatly simplifies the tedious and repetitive code at the data access layer. 2.

Three major SSH frameworks-spring, hibernate, and Struts Interview Questions (including answers)

Document directory How does hibernate work and why? How does hibernate delay loading? In hibernate, how does one implement the relationship between classes? (For example, one-to-many and many-to-many relationships) Let's talk about the cache mechanism of hibernate. Hibernate

Hibernate workflows and three statuses (interview questions)

(Transient)(There is no behavior associated with a database table, and as long as the app no longer references those objects, their state is lost and reclaimed by the garbage collection mechanism);The instantaneous state object passes save (), the saveorupdate will be converted into a persistent state, and the operation of the persistent state object can be synchronized with the database.The persisted object passes through evict (), close (), clear (), and so on, and so on, while being persiste

Interview questions-Optimize the methods that hibernate encourages

Which of the following is not encouraged by optimization hibernate?A: Use unidirectional one-to-many associations and do not use two-way pairB: No one-to-many substitutionC: Configure the object cache without using the collection cacheD: Inheriting classes using explicit polymorphismAnswer: (A)A summary of the relevant questions:Optimize the 7 measures that hibernate encourages:1. Use Many-to-one as much as

Interview questions: Talk about your understanding of hibernate

control the generation of SQL statements Hibernate has a hql. 2, if an item on the SQL statement optimization requirements are particularly high, not suitable for hibernate 3, if the data volume of a table is particularly large, not suitable for hibernateFor query database SQL optimization problem, here is a face question, give you a student student table, ask you in various ways to find out the specific s

Total Pages: 2 1 2 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

not found

404! Not Found!

Sorry, you’ve landed on an unexplored planet!

Return Home
phone Contact Us
not found

404! Not Found!

Sorry, you’ve landed on an unexplored planet!

Return Home
phone Contact Us

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.