public class

UniqueConstraintHolder

extends Object
java.lang.Object
   ↳ org.hibernate.cfg.UniqueConstraintHolder

Class Overview

javax.persistence.UniqueConstraint annotations are handled via second pass. I do not understand the reasons why at this time, so here I use a holder object to hold the information needed to create the unique constraint. The ability to name it is new, and so the code used to simply keep this as a String array (the column names).

Summary

Public Constructors
UniqueConstraintHolder()
Public Methods
String[] getColumns()
String getName()
UniqueConstraintHolder setColumns(String[] columns)
UniqueConstraintHolder setName(String name)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public UniqueConstraintHolder ()

Public Methods

public String[] getColumns ()

public String getName ()

public UniqueConstraintHolder setColumns (String[] columns)

public UniqueConstraintHolder setName (String name)