简体   繁体   中英

How do I migrate data from my old schema database to New schema with different database connection

How do I migrate data inside tables belonging to a Schema A of database A to Tables belonging To schema B of Database B in a mvn project? Can someone tell me the ways to do it?

I have already written a few SQL scripts and executed them in the SQL editor of Schema A (I just wanted to check if the scripts I have written are correct, So? I created tables belonging to schema B inside schema A) Now how do I actually perform this operation of migrating from tables of schema A to tables of schema B in Java way only?

Note: the design of these tables has been changed hence belong to different schemas across different dbs.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM