/*
 * jDialects, a tiny SQL dialect tool
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later. See
 * the lgpl.txt file in the root directory or
 * <http://www.gnu.org/licenses/lgpl-2.1.html>.
 */
package com.github.drinkjava2.jdialects.annotation.jpa;

/**
 * Defines the types of primary key generation strategies.
 *
 * @see GeneratedValue
 *
 * @since Java Persistence 1.0
 */
public enum GenerationType {

	/**
	 * Indicates that the persistence provider must assign primary keys for the
	 * entity using an underlying database table to ensure uniqueness.
	 */
	TABLE,

	/**
	 * Indicates that the persistence provider must assign primary keys for the
	 * entity using a database sequence.
	 */
	SEQUENCE,

	/**
	 * Indicates that the persistence provider must assign primary keys for the
	 * entity using a database identity column.
	 */
	IDENTITY,

	/**
	 * Indicates that the persistence provider should pick an appropriate
	 * strategy for the particular database. The <code>AUTO</code> generation
	 * strategy may expect a database resource to exist, or it may attempt to
	 * create one. A vendor may provide documentation on how to create such
	 * resources in the event that it does not support schema generation or
	 * cannot create the schema resource at runtime.
	 */
	AUTO,

	/** A 25 character length UUID */
	UUID25,

	/** A 32 character length UUID */
	UUID32,

	/** A 36 character length UUID */
	UUID36,

	/** A Any length UUID */
	UUID_ANY,

	/** A sorted UUID */
	SORTED_UUID,

	/** A Assigned UUID */
	ASSIGNED,
	
	/** A TimeStamp */
	TIMESTAMP,

	/** Unknow or Customized IdGenerators */
	OTHER
}

@@ -1521,44 +1521,9 @@
 UID,
-%0A%0A%09/** A Assigned UUID */%0A%09ASSIGNED,
+ 
 %0A%09%0A%09

delete ASSIGNED