My guess is that you have used the Cooks class twice somewhere, or even more likely, you have two mapping files for the Cooks class. Check for duplicate entries in your hibernate configuration file.
Show us your mappings element of the configuration file if you're still having problems.