generate java bean from table of database