This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Welcome to JavaRanch, kit james! Using a java.sql.Statement, you can execute database server specific queries. I'm not familiar with MySQL's dump command, but have you tried to simply execute a query using the same dump command that would be used from a MySQL console?