Got the answer:
I created the hibernate mapping i.e. hbm.xml file for view by using standard templates of hbm file and add it to hibernate configuration object. But for mapping, hibernate must need one id field in the hbm.xml file to work, so that I have to made one of the id field from both tables as the id field of the view and it worked.
It is giving the multiple result because the id is repeated, So you need to have two constraints for the view query so it will give you unique result. This is weird but it is the simplest and only way to acquire the same.