Java tool for exporting large SQL tables