public class IndexOrUniqueKeySecondPass extends Object implements SecondPass
Constructor and Description |
---|
IndexOrUniqueKeySecondPass(String indexName,
Ejb3Column column,
MetadataBuildingContext buildingContext)
Build an index
|
IndexOrUniqueKeySecondPass(String indexName,
Ejb3Column column,
MetadataBuildingContext buildingContext,
boolean unique)
Build an index if unique is false or a Unique Key if unique is true
|
IndexOrUniqueKeySecondPass(Table table,
String indexName,
String[] columns,
MetadataBuildingContext buildingContext)
Build an index
|
public IndexOrUniqueKeySecondPass(Table table, String indexName, String[] columns, MetadataBuildingContext buildingContext)
public IndexOrUniqueKeySecondPass(String indexName, Ejb3Column column, MetadataBuildingContext buildingContext)
public IndexOrUniqueKeySecondPass(String indexName, Ejb3Column column, MetadataBuildingContext buildingContext, boolean unique)
public void doSecondPass(Map persistentClasses) throws MappingException
doSecondPass
in interface SecondPass
MappingException
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.