001package io.ebean.annotation; 002 003/** 004 * For IDENTITY specifies the generated ALWAYS or BY DEFAULT option. 005 * <p> 006 * Depending on the database there can be a performance gain in using 007 * the GENERATED ALWAYS option. 008 */ 009public enum IdentityGenerated { 010 011 /** 012 * Platform default option chosen. 013 */ 014 AUTO, 015 016 /** 017 * Use GENERATED ALWAYS AS IDENTITY. 018 */ 019 ALWAYS, 020 021 /** 022 * Use GENERATED BY DEFAULT AS IDENTITY. 023 */ 024 BY_DEFAULT 025 026}