public enum SqlLogType extends java.lang.Enum<SqlLogType>
| Enum Constant and Description |
|---|
FORMATTED
The formatted SQL.
|
NONE
No output.
|
RAW
The raw SQL.
|
| Modifier and Type | Method and Description |
|---|---|
static SqlLogType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SqlLogType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlLogType RAW
The bind variables are displayed as ?.
public static final SqlLogType FORMATTED
The bind variables are replaced with the string representations of the parameters. The
string representations is determined by the object that is return from Dialect.getSqlLogFormattingVisitor().
public static final SqlLogType NONE
public static SqlLogType[] values()
for (SqlLogType c : SqlLogType.values()) System.out.println(c);
public static SqlLogType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null