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 159679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:54:06+00:00 2026-05-11T10:54:06+00:00

Is there any real issue – such as performance – when the hibernate object

  • 0

Is there any real issue – such as performance – when the hibernate object model and the database physical model no longer match? Any concerns? Should they be keep in sync?

Our current system was original designed for a low number of users so not much effort was done to keep the physical and objects in sync. The developers went about their task and the architects did not monitor. Now that we are in the process of rewriting/importing the legacy system into the new system, a concern has been raised in that the legacy system handles a lot of user volume and might bring the new system to its knees.

Update 20090331
From Pete’s comments below – the concern was about table/data relationships in the data layer vs the object layer. If there is no dependencies between the two, then there is no performance hits if these relationships do not match? Is that correct?

The concern from my view is that the development team spends a lot of time ‘tuning’ the hibernate queries/objects but nothing at the database layer to improve the performance of the application. I would have assumed that they would tune at both layers.

Could these issue be from just a poor initial design of the database to begin with and trying to cover/make up the difference by the use of Hibernate?

(I am new to this project so playing catchup)

  • 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. 2026-05-11T10:54:06+00:00Added an answer on May 11, 2026 at 10:54 am

    Update: in response to comment: It is CRUCIAL that the database be optimized in addition to the Hibernate use. When you think about it, after all the work hibernate does, in the end it is just querying the database. If the database doesn’t perform well (wrong or missing indexes, poorly set up table spaces, etc) it doesn’t matter how much you tune Hibernate. On the flip side if your database is set up well but Hibernate isn’t (perhaps the caching is not set up properly, etc., and you are going back to the database a lot more then you need to) then performance will suffer as well. It is always important to tune the system end to end, but start at the foundation (database) and work up.

    End Update

    I’m curious what you mean about ‘don’t match’ – do you mean columns have been added to tables that aren’t represented in the hibernate data objects? Tables have been added? I don’t think anything like that would affect performance (more likely data integrity if you are not inserting/updating all columns)

    In general, the goal of the object model should NOT be match the database schema verbatim. You want to abstract the underlying data complexity / joins / normalization, that is the whole point of using something like Hibernate.

    So for example lets say you have (keeping things very simple) ‘orders’ and ‘order items’,

    your application code should be able to do something like

    order.getItems()

    without having to know that underneath it is a one to many relationship. The details in your hibernate code control how the load is done (lazy, caching, etc).

    If that doesn’t answer your question then please provide more detail

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

Sidebar

Ask A Question

Stats

  • Questions 140k
  • Answers 140k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You are right that Linq is lazy loading your attachments.… May 12, 2026 at 7:52 am
  • Editorial Team
    Editorial Team added an answer The answer ultimately DID lie in the SPNs. This system… May 12, 2026 at 7:52 am
  • Editorial Team
    Editorial Team added an answer A .gch file is a precompiled header. If a .gch… May 12, 2026 at 7:52 am

Related Questions

Is there any real issue - such as performance - when the hibernate object
One CSS rule I have learned is that you should use the relative em
I am making this in a proactive attempt to head off any potential problems
We are running an web application that is using Java 64bit 5 gigs of
I'm using MySQL API's function mysql_real_escape_string() Based on the documentation, it escapes the following

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.