Uses of Class
org.h2.command.ddl.AlterTableAddConstraint
Packages that use AlterTableAddConstraint
Package
Description
This package contains the parser and the base classes for prepared SQL statements.
Contains DDL (data definition language) and related SQL statements.
-
Uses of AlterTableAddConstraint in org.h2.command
Methods in org.h2.command that return AlterTableAddConstraintModifier and TypeMethodDescriptionstatic AlterTableAddConstraint
Parser.newPrimaryKeyConstraintCommand
(SessionLocal session, Schema schema, String tableName, Column column) Create a new alter table command.Methods in org.h2.command with parameters of type AlterTableAddConstraintModifier and TypeMethodDescriptionprivate void
Parser.parseReferences
(AlterTableAddConstraint command, Schema schema, String tableName) -
Uses of AlterTableAddConstraint in org.h2.command.ddl
Fields in org.h2.command.ddl declared as AlterTableAddConstraintMethods in org.h2.command.ddl that return AlterTableAddConstraintMethods in org.h2.command.ddl with parameters of type AlterTableAddConstraintModifier and TypeMethodDescriptionprivate boolean
CommandWithColumns.setPrimaryKey
(AlterTableAddConstraint primaryKey) Set the primary key, but also check if a primary key with different columns is already defined.