net.sourceforge.squirrel_sql.plugins.oracle.constraint
Class UQConstraintSource

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.oracle.constraint.AbstractConstraintSource
      extended by net.sourceforge.squirrel_sql.plugins.oracle.constraint.UQConstraintSource

public class UQConstraintSource
extends AbstractConstraintSource

Constructs the SQL source for a unique constraint. Unique constraint is used to ensure that all column values within a table never contain a duplicate entry.

Author:
bpaulon

Constructor Summary
UQConstraintSource(ISession session, ConstraintInfo ci)
           
 
Method Summary
 void buildConstraintClause()
           
 
Methods inherited from class net.sourceforge.squirrel_sql.plugins.oracle.constraint.AbstractConstraintSource
buildAddStatement, buildDropStatement, columnNamesAsCSV, getSource, readConstraintColumnNames, readConstraintColumns
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UQConstraintSource

public UQConstraintSource(ISession session,
                          ConstraintInfo ci)
Method Detail

buildConstraintClause

public void buildConstraintClause()
                           throws Exception
Specified by:
buildConstraintClause in class AbstractConstraintSource
Throws:
Exception


Copyright © 2001-2010. All Rights Reserved.