public enum ColumnAliasType extends java.lang.Enum<ColumnAliasType>
Using TABLE_NAME type might be dangerous, since most databases (including Oracle) has some maximum length for column names, so adding table name prefix might be too much;)
Column types are usually used internally by SQL generators (see: DbSqlGenerator
).
Enum Constant and Description |
---|
COLUMN_CODE |
TABLE_NAME |
TABLE_REFERENCE |
Modifier and Type | Method and Description |
---|---|
static ColumnAliasType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColumnAliasType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnAliasType TABLE_NAME
public static final ColumnAliasType TABLE_REFERENCE
public static final ColumnAliasType COLUMN_CODE
public static ColumnAliasType[] values()
for (ColumnAliasType c : ColumnAliasType.values()) System.out.println(c);
public static ColumnAliasType 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 nullCopyright © 2003-present Jodd Team