Database Migration

后端 未结 4 929
太阳男子
太阳男子 2021-02-03 15:59

I am working on database migration tool in java. The tool is copying database tables with their data\'s to the destination database. But I want it to work on different databases

4条回答
  •  半阙折子戏
    2021-02-03 16:19

    try to see what HIBERNATE provides for migration. I know that H can generate model objects from database schema and a schema from model objects. So maybe you can reuse some parts from HIBERNATE. They have the notion of DIALECT that does exactly what you are saying: defining specifics of a db implementation.

提交回复
热议问题