Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » UltraLiteJ » UltraLiteJ Reference » UltraLiteJ API reference » ForeignKeySchema interface


addColumnReference method

Adds a column reference to the foreign key.

ForeignKeySchema ForeignKeySchema.addColumnReference(
  String foreign_column,
  String primary_column
) throws ULjException
  • foreign_column   The name of column containing the foreign key. The values in this column are used to reference values in the primary_column_name column of the primary table.

  • primary_column   The name of column in the referenced table. All primary columns, as a set, must be in a primary or unique key constraint of the primary table.


This ForeignKeySchema with the foreign key assigned to the foreign column.