About Java and JRuby Development
JEE, Spring, Guice
Hibernate, Java Persistence (JPA)
and various Web Frameworks

@javax.persistence.UniqueConstraint

hibernate buch cover klein

Extract of the annotation reference in the Hibernate Developer Guide by example


Extensive, easy-to-follow introduction to Hibernate 3 including complete working examples. Integration of Hibernate with other technologies like Spring, EJB3, Struts and JavaServer Faces (MyFaces) is explained.


It is available as PDF in English language.
A German paper book was published by the Galileo Verlag.


Get more information.

@javax.persistence.UniqueConstraint(

definiert einen Unique-Key-Constraint, Hibernate
verwendet diese Information beim Erzeugen von Tabellen.

columnNames = { “databaseColumnName}”,
�anotherColumn� }

Pflichtfeld, legt die Tabellenspalten fest, die im
Constraint enthalten sind

)