generate java Dao code from mysql database