@Column 어노테이션을 지정하지 않으면 열 이름은 기본 키 속성 또는 필드의 이름으로 가정합니다.@GeneratedValue 없이 @Id 어노테이션만 사용한다면 직접 할당이 됩니다.persist() 메서드를 호출하기 전에 애플리케이션에서 직접 실별자 값을 할당해야 하며, 식별자 값이 없을 경우 에러를 발생시킵니다.public @interface GeneratedValue {
/**
* (Optional) The primary key generation strategy
* that the persistence provider must use to
* generate the annotated entity primary key.
*/
GenerationType strategy() default AUTO;
/**
* (Optional) The name of the primary key generator
* to use as specified in the {@link SequenceGenerator}
* or {@link TableGenerator} annotation.
* <p> Defaults to the id generator supplied by persistence provider.
*/
String generator() default "";
}
(Optional) 엔티티의 기본키 생성 전략입니다. 기본값은 AUTO 입니다.
package javax.persistence;
/**
* Defines the types of primary key generation strategies.
*
*@seeGeneratedValue
*
*@since1.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
}
JPA 구현체가 자동으로 생성 전략을 결정한다.

new_generator 를 검사하는데 기본값이 TRUE이기 떄문에 SequenceStyleGenerator로 갑니다. 그 이후 MySQL이라면 sequences를 지원하지 않기 때문에 TABLE Generator로 가게 된다.