Class IndexOrUniqueKeySecondPass
java.lang.Object
org.hibernate.boot.model.internal.IndexOrUniqueKeySecondPass
- All Implemented Interfaces:
Serializable,SecondPass
- Author:
- Emmanuel Bernard
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIndexOrUniqueKeySecondPass(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
Modifier and TypeMethodDescriptionvoiddoSecondPass(Map<String, PersistentClass> persistentClasses) Perform the operation
-
Constructor Details
-
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 Details
-
doSecondPass
Description copied from interface:SecondPassPerform the operation- Specified by:
doSecondPassin interfaceSecondPass- Throws:
MappingException
-