If anybody has come across a tool which can read a db2 table and generates a dao (database object) code in java which can make operations in that table, ie for inserting, updating and deleting the records by auto generating queries and corresponding methods and member variables, please let me know.
Maybe Visual Age for Java can do the things that you want.
It has a component called Data Access Builder (or something like that).
You can create classes that provide a way to access, update.. data
in the tables that you selected by using DAB.
I haven't spent much time on it, so I'm not sure if this is exactly what you want but I hope this helps.