org.hibernate.cfg
Class IndexOrUniqueKeySecondPass
java.lang.Object
org.hibernate.cfg.IndexOrUniqueKeySecondPass
- All Implemented Interfaces:
- Serializable, SecondPass
public class IndexOrUniqueKeySecondPass
- extends Object
- implements SecondPass
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexOrUniqueKeySecondPass
public IndexOrUniqueKeySecondPass(Table table,
String indexName,
String[] columns,
Mappings mappings)
- Build an index
IndexOrUniqueKeySecondPass
public IndexOrUniqueKeySecondPass(String indexName,
Ejb3Column column,
Mappings mappings)
- Build an index
IndexOrUniqueKeySecondPass
public IndexOrUniqueKeySecondPass(String indexName,
Ejb3Column column,
Mappings mappings,
boolean unique)
- Build an index if unique is false or a Unique Key if unique is true
doSecondPass
public void doSecondPass(Map persistentClasses)
throws MappingException
- Specified by:
doSecondPass
in interface SecondPass
- Throws:
MappingException
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.