org.hibernate.cfg
Class IndexOrUniqueKeySecondPass

java.lang.Object
  extended by org.hibernate.cfg.IndexOrUniqueKeySecondPass
All Implemented Interfaces:
Serializable, SecondPass

public class IndexOrUniqueKeySecondPass
extends Object
implements SecondPass

Author:
Emmanuel Bernard
See Also:
Serialized Form

Constructor Summary
IndexOrUniqueKeySecondPass(String indexName, Ejb3Column column, ExtendedMappings mappings)
          Build an index
IndexOrUniqueKeySecondPass(String indexName, Ejb3Column column, ExtendedMappings 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, ExtendedMappings mappings)
          Build an index
 
Method Summary
 void doSecondPass(Map persistentClasses)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexOrUniqueKeySecondPass

public IndexOrUniqueKeySecondPass(Table table,
                                  String indexName,
                                  String[] columns,
                                  ExtendedMappings mappings)
Build an index


IndexOrUniqueKeySecondPass

public IndexOrUniqueKeySecondPass(String indexName,
                                  Ejb3Column column,
                                  ExtendedMappings mappings)
Build an index


IndexOrUniqueKeySecondPass

public IndexOrUniqueKeySecondPass(String indexName,
                                  Ejb3Column column,
                                  ExtendedMappings mappings,
                                  boolean unique)
Build an index if unique is false or a Unique Key if unique is true

Method Detail

doSecondPass

public void doSecondPass(Map persistentClasses)
                  throws MappingException
Specified by:
doSecondPass in interface SecondPass
Throws:
MappingException


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.