Quote:
This works for the tests I have done. Do you see any issues with this?
No, I don't see any issues with this.
The unique thing to notice is, that since Hibernate4.1 the NaturalId feature has become a big enhancement,
for example you don't need to use the second level query cache anymore,
see
http://in.relation.to/Bloggers/41FeatureLoadingByNaturalIdQuote:
My next issue is I want to add a new column maildrop to my existing table such that (name,maildrop) is unique.
You can do that, but not with the NaturalId feature.
You cannot define multiple sets of NaturlalId's for a single entity class or a class hierarchy (HHH-7129).