public final class ColumnDefinitions extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ENUMERABLE
The real type of this field is ENUMERABLE.
|
static int |
NOT_NULL
The data is not null.
|
static int |
SET
The real type of this field is SET.
|
static int |
UNSIGNED
The data is an unsigned number.
|
public static final int NOT_NULL
public static final int UNSIGNED
Note: IEEE-754 floating types (e.g. DOUBLE/FLOAT) do not supports it in MySQL 8.0+. When creating a column as an unsigned floating type, the server may report a warning.
public static final int ENUMERABLE
Note: in order to be compatible with older drivers, MySQL server will send type as VARCHAR for type ENUMERABLE. If this flag is enabled, change data type to ENUMERABLE.
public static final int SET
Note: in order to be compatible with older drivers, MySQL server will send type as VARCHAR for type SET. If this flag is enabled, change data type to SET.
Copyright © 2018–2023 asyncer.io. All rights reserved.