Java equivalent for database schema changes like South for Django?
Posted
by gerdemb
on Stack Overflow
See other posts from Stack Overflow
or by gerdemb
Published on 2010-03-11T18:52:35Z
Indexed on
2010/03/11
18:54 UTC
Read the original article
Hit count: 228
I've been working on a Django project using South to track and manage database schema changes. I'm starting a new Java project using Google Web Toolkit and wonder if there is an equivalent tool. For those who don't know, here's what South does:
- Automatically recognize changes to my Python database models (add/delete columns, tables etc.)
- Automatically create SQL statements to apply those changes to my database
- Track the applied schema migrations and apply them in order
- Allow data migrations using Python code. For example, splitting a name field into a first-name and last-name field using the Python split() function
I haven't decided on my Java ORM yet, but Hibernate looks like the most popular. For me, the ability to easily make database schema changes will be an important factor.
© Stack Overflow or respective owner