I would like to know more about unique=true in hibernate. Where and how and why to use it. How to use it for many-many, one-many, many-one, one-one Any ideas, resources, links, sample code highly appreciated.
Please check the use of "many to many" and "unique" Here.
Also the site you're using to learn Hibernate never explains in depth the details of "many to many" usages.
If I were you, I would start learning from the hibernate docs first.
If you are not laughing at yourself, then you just didn't get the joke.