Class IndexOrUniqueKeySecondPass
- java.lang.Object
-
- org.hibernate.boot.model.internal.IndexOrUniqueKeySecondPass
-
- All Implemented Interfaces:
Serializable
,SecondPass
public class IndexOrUniqueKeySecondPass extends Object implements SecondPass
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IndexOrUniqueKeySecondPass(String indexName, AnnotatedColumn column, MetadataBuildingContext buildingContext, boolean unique)
Build an index if unique is false or a Unique Key if unique is trueIndexOrUniqueKeySecondPass(Table table, String indexName, String[] columns, MetadataBuildingContext buildingContext)
Build an index
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doSecondPass(Map<String,PersistentClass> persistentClasses)
Perform the operation
-
-
-
Constructor Detail
-
IndexOrUniqueKeySecondPass
public IndexOrUniqueKeySecondPass(Table table, String indexName, String[] columns, MetadataBuildingContext buildingContext)
Build an index
-
IndexOrUniqueKeySecondPass
public IndexOrUniqueKeySecondPass(String indexName, AnnotatedColumn column, MetadataBuildingContext buildingContext, boolean unique)
Build an index if unique is false or a Unique Key if unique is true
-
-
Method Detail
-
doSecondPass
public void doSecondPass(Map<String,PersistentClass> persistentClasses) throws MappingException
Description copied from interface:SecondPass
Perform the operation- Specified by:
doSecondPass
in interfaceSecondPass
- Throws:
MappingException
-
-