What is difference between mapping resource and mapping class tags ?


Ans: If annotation are not used than mapping resource tag can be used to map between hbm.xml and hibernate config file.
If annotation are used in POJO class than mapping class tag can be used to map between POJO class and hibernate config file.