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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:03:25+00:00 2026-05-10T17:03:25+00:00

I use both ruby on rails and Java. I really enjoy using migrations when

  • 0

I use both ruby on rails and Java. I really enjoy using migrations when I am working on a rails project. so I am wondering is there a migrations like tool for Java? If there is no such tool is it a good idea to use migrations as a tool to control a database used by a Java project?

  • 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-10T17:03:26+00:00Added an answer on May 10, 2026 at 5:03 pm

    I’ve used Hibernate’s SchemaUpdate to perform the same function as migrations. It’s actually easier than migrations because every time you start up your app, it examines the database structure and syncs it up with your mappings so there’s no extra rake:db:migrate step and your app can never be out of sync with the database it’s running against. Hibernate mapping files are no more complex than Rails migrations so even if you didn’t use Hibernate in the app, you could take advantage of it. The downside is that it’s not as flexible as far as rolling back, migrating down, running DML statements. As pointed out in the comments, it also doesn’t drop tables or columns. I run a separate method to do those manually as part of the Hibernate initialization process.

    I don’t see why you couldn’t use Rails migrations though – as long as you don’t mind installing the stack (Ruby, Rake, Rails), you wouldn’t have to touch your app.

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

Sidebar

Ask A Question

Stats

  • Questions 63k
  • Answers 63k
  • 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
  • added an answer Here's a solution for technical hours (context-less). var query =… May 11, 2026 at 10:33 am
  • added an answer M-x speedbar. http://cedet.sourceforge.net/speedbar.shtml May 11, 2026 at 10:33 am
  • added an answer It's a bad practice to hardcode schema into SQL statements.… May 11, 2026 at 10:33 am

Related Questions

I use both ruby on rails and Java. I really enjoy using migrations when
I use a view based on a complex query with 17 joins (both inner
I don't know how to use both of them. So a sample code with
I want to use CodeDOM to both declare and initialize my static field in
I am developing a cocoa application that will be making heavy use of both
Right now, I have two Eclipse projects - they both use Maven 2 for
I'm new to both C# and Linq. I'm attempting to use a Linq-generated element
I'm trying to use DSDP (semidefinite programming package) with cvxopt. I have both of
I use Firebug and the Mozilla JS console heavily, but every now and then
I use rsync to synchronize files to Windows clients in a server agnostic way.

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.