Create "INSERT" statements from mySQL database in Java
Posted
by
girdus
on Stack Overflow
See other posts from Stack Overflow
or by girdus
Published on 2011-11-26T08:49:49Z
Indexed on
2011/11/26
9:53 UTC
Read the original article
Hit count: 146
Does anyone know of any good libraries or scripts out there which will allow me to point to any mySQL table and automatically get a list of all the INSERT
statements for the data in the table? DdlUtils
allows me to create an XML file from a database model but I would like to have it in INSERT
statements format and preferably the ability to choose a couple of tables instead of dumping the entire database.
Thanks.
EDIT: I need it to be a Java API because I want to programatically call it from my Java method.
© Stack Overflow or respective owner