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

  • SEARCH
  • Home
  • 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 190993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:18:12+00:00 2026-05-11T16:18:12+00:00

Assume Hibernate for the ORM. I’m not sure how to ask this. I want

  • 0

Assume Hibernate for the ORM.

I’m not sure how to ask this. I want to build an application that can replace part of another. For example, say I have an application with various modules, called the “big” app. This application may handle HR, financial, purchases, skill sets, etc. But maybe, for whatever reason, I don’t like the skill set module, but I like the rest of the application. I want to build an app that uses the same database that the rest of the “big” app uses but use my software as the front end for that piece.

I could build my app and have it hit the database directly with no ORM. My question is is there an advantage to using an ORM here. I’m thinking there is because if the “big” app goes away and another app is purchased, we could continue to use my version of skill set because I am using hibernate instead of hitting things directly. I’m still learning but I thought that my application used objects that I named and that in the case I just described I’d have to change my mapping files only or/and my code very little.

Here is another example. I have a legacy application and legacy database. It uses database X. I decide that I no longer like the old terminal emulator application that is used to get the data and that I want a graphical version. I can use hibernate with my application and when I finally decide to get rid of the legacy database and change to the latest Oracle or SQL Server, I can do so with minimal headache? Or is my database going to change so much that it wouldn’t have matter anyway (I’m suggesting that upon changing to a new database more information will want to be captured)?

I was hoping for comments, if I am misunderstanding why hibernate/ORM might or might not be a benefit.

Thank you.

  • 1 1 Answer
  • 1 View
  • 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-11T16:18:12+00:00Added an answer on May 11, 2026 at 4:18 pm

    I do not think you will have a huge benefit frmo hibernate if the database schema changes to something completely different, you might have to change more than just your mapping – especially if more “structure” is added to the database (tables, column and such schema things). That said, if the database was structured mostly the same way, but lets say just the column names and tables names changes and a couple of tables are merged or something like that – you can get by with just changing your mapping.

    But I would really recommend using hbernate for database agnosticity, that’s is a pretty easy path.

    AND then just because it doesn’t exactly helps you if your entire database is changed, it such an incredible amount of other forces, that I would choose that over direct DB access most of the time.

    Lastly you could think about using a service-layer such as the repository pattern that abstracs away the data access, so the business of your appilcation wouldn’t need to change if the database changes.

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

Sidebar

Related Questions

Assume that we have two sets: A=(a_1,a_2,...,a_m) and B=(b_1,b_2,...,a_n) (Not necessarily of same size).
I have a hibernate pojo class and it has some field. Assume that there
And if so, what is the syntax? Assume that I want an instance of
Assume you are using some libraries like NHibernate or Castle ActiveRecord that use log4net
Assume I have an enumerable object enum and now I want to get the
Assume this code works: left '*' left '+' expr: expr '+' expr | expr
Assume you have 3 given tasks. You can run them either using process or
For my previous employer I've worked with Hibernate, and now that I'm in a
I am planning to create a web application using spring/hibernate. How should I design
I've been finding some unit tests that assume that the results of database queries

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.