| 程序包 | 说明 |
|---|---|
| org.h2.command.ddl |
Contains DDL (data definition language) and related SQL statements.
|
| org.h2.constraint |
Database constraints such as check constraints, unique constraints, and referential constraints.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ConstraintActionType |
ConstraintReferential.getDeleteAction() |
ConstraintActionType |
ConstraintReferential.getDeleteAction() |
ConstraintActionType |
ConstraintReferential.getUpdateAction() |
ConstraintActionType |
ConstraintReferential.getUpdateAction() |
static ConstraintActionType |
ConstraintActionType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ConstraintActionType |
ConstraintActionType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ConstraintActionType[] |
ConstraintActionType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
static ConstraintActionType[] |
ConstraintActionType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ConstraintReferential.setDeleteAction(ConstraintActionType action)
Set the action to apply (restrict, cascade,...) on a delete.
|
void |
ConstraintReferential.setDeleteAction(ConstraintActionType action)
Set the action to apply (restrict, cascade,...) on a delete.
|
void |
ConstraintReferential.setUpdateAction(ConstraintActionType action)
Set the action to apply (restrict, cascade,...) on an update.
|
void |
ConstraintReferential.setUpdateAction(ConstraintActionType action)
Set the action to apply (restrict, cascade,...) on an update.
|
Copyright © 2022. All rights reserved.