org.sql.generation.api.grammar.definition.table
Class AutoGenerationPolicy
java.lang.Object
org.sql.generation.api.grammar.definition.table.AutoGenerationPolicy
public final class AutoGenerationPolicy
- extends Object
This class defines the policy for auto-generated columns (GENERATED <strategy> AS IDENTITY.
- Author:
- Stanislav Muhametsin
- See Also:
ColumnDefinition
ALWAYS
public static final AutoGenerationPolicy ALWAYS
- Represents the
GENERATED ALWAYS AS IDENTITY auto generation policy.
BY_DEFAULT
public static final AutoGenerationPolicy BY_DEFAULT
- Represents the
GENERATED BY DEFAULT AS IDENTITY auto generation policy.
AutoGenerationPolicy
public AutoGenerationPolicy(String policyName)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2010-2012. All Rights Reserved.