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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:39:43+00:00 2026-05-16T18:39:43+00:00

So, very soon, I will be part of a migration that will move a

  • 0

So, very soon, I will be part of a migration that will move a home-rolled persistence layer (circa any good, popular ORM) to hibernate3. However, at the same time that this migration happens, developers will be working to implement new business logic atop the current persistence layer, hence working against the migration! Does anyone have suggestions as to how best to manage a migration of about 1MLOC?

I have some initial thoughts, but I’d like input.

  1. Initially, the hibernate migration will likely need to be a branch of the main development line devoted solely to converting the current system to use hibernate.
  2. At some point, development should either switch to the hibernate branch, or the hibernate branch should be merged back into the main development line.
  3. Some developers will likely need to be pretty-solely devoted to the task of migration, although each developer may have special business-specific knowledge necessary for completing new logic.

Has anyone else performed a task of this magnitude? I’m thinking that perhaps some kind of rationing amount could be given to each developer, such as 80/20, 60/40 time for new logic vs. migration work. In this way, each developer can own their domain of the code, and all will be exposed to the new paradigms to prevent a sudden halt in productivity for developers left out of all migration work, suddenly exposed to hibernate.

So, then, which would likely be better?

A core unit of developers tasked solely with migration

or

A rationed split of development across all developers for migration

Which of these would be better, and why?

  • 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-16T18:39:44+00:00Added an answer on May 16, 2026 at 6:39 pm

    I’ve done such a migration in the past, the situation was very similar: it was a huge critical project (more than 120 developers at the time of the migration), the project was using its own persistence framework (not an ORM, more a data mapper very close to JDBC), we introduced Hibernate 1 year after the start, in the middle of the construction phase, without stopping developments.

    Here is how we did it:

    • we dedicated a swat team (10 people during 3 intense weeks) to initiate the migration
    • we did it in a separate branch, we couldn’t disturb the construction team
    • we logically started with the deepest parts of objects graphs: (all the “reference data” like customers, bank accounts, financial instruments, etc, etc, i.e. mostly read data used everywhere).
      • we wrote tests for all existing DAOs that weren’t enough tested
      • we mapped the business objects, we rewrote DAO methods using Hibernate API and HQL
    • and went a bit further on some extremely critical parts
    • we merged the code during a week end, doing all the possible regression testing (0 regression 🙂
    • we trained the construction team and created some new development rules
      • Hibernate became the rule (if possible) for new developments
      • migration of existing persistent code was done on opportunity

    And it worked.

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

Sidebar

Related Questions

I have the following scenario that i will start to develop very soon, but
We are going to be developing a large enterprise desktop application very soon and
I have a process/Linux, which runs out of memory very soon, and I wonder
I have a deadline soon and I have very annoying bug in front of
Very noob question, I know, but I didn't manage to handle real-time slider move
I have developed a webservice using Apache CXF ,which will be in production very
I've noticed that Java String will reuse char array inside it to avoid creating
I want to set Flag as navOpenInBackgroundTab of BrowserNavConstants enum which soon will be
I'm soon going to check in the very first commit of a new Java
Very specific question but we have some good Ada people here so I would

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.