Change the following code:
partCriteria.add(Restrictions.eq("part_id",part.getPart_id()));
into:
partCriteria.add(Restrictions.eq("part", part));
The criteria in your code is based on PartFeatureVersion
class. You are restricting the criteria based on PartFeatureVersion.part_id
property. The problem is your PartFeatureVersion
class doesn't have a property called part_id
.