Application for copying tables content from one database to another using jdbc