Working on mapping from DbObject to Java Object