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