net.sourceforge.squirrel_sql.plugins.oracle.constraint
Class AbstractConstraintSource
java.lang.Object
net.sourceforge.squirrel_sql.plugins.oracle.constraint.AbstractConstraintSource
- Direct Known Subclasses:
- CKConstraintSource, FKConstraintSource, PKConstraintSource, UQConstraintSource
public abstract class AbstractConstraintSource
- extends Object
Base class that constructs the SQL source for the constraints
- Author:
- bpaulon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractConstraintSource
public AbstractConstraintSource(ISession session,
ConstraintInfo ci)
buildDropStatement
public void buildDropStatement()
buildAddStatement
public void buildAddStatement()
columnNamesAsCSV
protected String columnNamesAsCSV(List<ConstraintColumnInfo> cols)
readConstraintColumnNames
public void readConstraintColumnNames()
throws SQLException
- Throws:
SQLException
readConstraintColumns
protected List<ConstraintColumnInfo> readConstraintColumns(String schema,
String constraintName)
throws SQLException
- Throws:
SQLException
buildConstraintClause
public abstract void buildConstraintClause()
throws Exception
- Throws:
Exception
getSource
public String getSource()
Copyright © 2001-2013. All Rights Reserved.