Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 848769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:59:43+00:00 2026-05-15T06:59:43+00:00

I was asked in an interview this question so I answered with the following:

  • 0

I was asked in an interview this question so I answered with the following:

-Better Performance:
– Efficient queries.
– 1st and 2nd level caching.
– Good caching gives better scalability.
– Good Database Portability:
– Changing the DB is as easy as changing the dialect configuration.
– Increased Developer Productivity:
– Think only in object terms not in query language terms.

But I also feel that systems fall in one of the below categories, and Hibernate may not be suited for all these cases, I’m interested in your thoughts about this, do you agree with me? please let me know when would use HB in the following case and why.

  • Write Only Systems:
  • Read Only Systems:
  • Write Mostly Systems:
  • Read Mostly Systems:

Regards
Ramo

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T06:59:43+00:00Added an answer on May 15, 2026 at 6:59 am

    Hibernate is suitable for most of the applications where you have an object oriented model. So you could ask: when is an object oriented model appropriate?

    I would say, the biggest advantage is the developer productivity. Query performance by itself is usually worse then hand-coded queries, because it can’t optimize for each particular case. Hibernate compensates this very well by the use of caches.

    Write only (and mostly) systems can’t take much advantage from the caches, it could even decrease performance a lot (you should avoid using the cache). These kind of systems usually do not need an object oriented model, they just push data into the data base.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was asked this question in interview. Which of the following is better to
I asked a question like this in an interview for a entry level programmer:
Recently in a job interview I was asked this following question (for Java): Given:
I was asked this question in a job interview recently. I answered that I
Hi i was asked in an interview about this question. I did google a
This question was asked at interview. Say I have a contract. [ServiceContract] public interface
This was the question asked in interview. Can we call one constructor from another
I was asked this question in a job interview, and I'd like to know
I was recently asked this question in an interview. Lets suppose I have 2000
Recently I was asked this question in an interview. I gave an answer in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.