HeadFirst [surl='http://www.coderanch.com/forums/f-11/EJB-JEE' class='api' title='the JavaRanch JEE forum wrote:EJB[/surl] 3.0 Book]The @Table.UniqueConstraint attribute allows you to specify unique column constraint.
JPA Specs- (9.1.4) wrote:The UniqueConstraint annotation is used to specify that a unique constraint is to be included in the generated DDL for a primary or secondary table.
Christophe Verré wrote:It allows to generate unique constraints in the DDL. Unique constraints are explained here. (I don't think this kind of annotation is at the exam, but who knows...)