public enum DbJsonType extends Enum<DbJsonType>
| Enum Constant and Description |
|---|
BLOB
Store as database BLOB.
|
CLOB
Store as database CLOB.
|
JSON
Store as JSON on Postgres and for other databases store as CLOB.
|
JSONB
Store as JSONB on Postgres and for other databases store as CLOB.
|
VARCHAR
Store as database VARCHAR.
|
| Modifier and Type | Method and Description |
|---|---|
static DbJsonType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DbJsonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DbJsonType JSON
public static final DbJsonType JSONB
public static final DbJsonType VARCHAR
public static final DbJsonType CLOB
public static final DbJsonType BLOB
public static DbJsonType[] values()
for (DbJsonType c : DbJsonType.values()) System.out.println(c);
public static DbJsonType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016. All rights reserved.