Create "INSERT" statements from mySQL database in Java
- by girdus
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.