| Modifier and Type | Field and Description |
|---|---|
| public static final UniqueConstraintSchemaUpdateStrategy | DROP_RECREATE_QUIETLY
Attempt to drop, then (re-)create each unique constraint. |
| private static final Logger | |
| public static final UniqueConstraintSchemaUpdateStrategy | RECREATE_QUIETLY
Attempt to (re-)create unique constraints, ignoring exceptions thrown (e.g., if the constraint already existed) |
| public static final UniqueConstraintSchemaUpdateStrategy | SKIP
Do not attempt to create unique constraints on a schema update |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static UniqueConstraintSchemaUpdateStrategy | |
| public static UniqueConstraintSchemaUpdateStrategy | |
| public static UniqueConstraintSchemaUpdateStrategy | |
| public static UniqueConstraintSchemaUpdateStrategy[] |
| DROP_RECREATE_QUIETLY | back to summary |
|---|---|
| public static final UniqueConstraintSchemaUpdateStrategy DROP_RECREATE_QUIETLY Attempt to drop, then (re-)create each unique constraint. Ignore any exceptions thrown. Note that this will require unique keys/constraints to be explicitly named. If Hibernate generates the names (randomly), the drop will not work. DEFAULT | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| RECREATE_QUIETLY | back to summary |
|---|---|
| public static final UniqueConstraintSchemaUpdateStrategy RECREATE_QUIETLY Attempt to (re-)create unique constraints, ignoring exceptions thrown (e.g., if the constraint already existed) | |
| SKIP | back to summary |
|---|---|
| public static final UniqueConstraintSchemaUpdateStrategy SKIP Do not attempt to create unique constraints on a schema update | |
| UniqueConstraintSchemaUpdateStrategy | back to summary |
|---|---|
| private UniqueConstraintSchemaUpdateStrategy() | |
| byName | back to summary |
|---|---|
| public static UniqueConstraintSchemaUpdateStrategy byName(String name) | |
| interpret | back to summary |
|---|---|
| public static UniqueConstraintSchemaUpdateStrategy interpret(Object setting) | |
| valueOf | back to summary |
|---|---|
| public static UniqueConstraintSchemaUpdateStrategy valueOf(String name) | |
| values | back to summary |
|---|---|
| public static UniqueConstraintSchemaUpdateStrategy[] values() | |