Removing hibernate entities and using mds entities from common-entities dependency