0

Is there a java library that be able to export databases from any DBMS (Mysql,SQLServer,Oracle,SQLite,...) to any DBMS?

1 Answer 1

2

Thats not easy.. but you could try using apache torque, it will convert your source schema into an intermediate XML. You can then use the XML to generate your schema in the target database. After which you can call on ant targets to export the data into XML from the source database. Then call another ant target to populate the data from the data XML.

I have used this to migrate data from mysql to oracle express to db2. It worked fine for me. In fact it worked better that the oracle provided tools for migration.

Here's a link:

http://db.apache.org/torque/releases/torque-3.3/generator/tasks-reference.html

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.