Top Description Methods
org.hibernate.annotations

public @Interface GenericGenerator

extends Annotation
Annotations
@Target:PACKAGE, TYPE, METHOD, FIELD
@Retention:RUNTIME
Static Imports
java.lang.annotation.ElementType.*, .RetentionPolicy.RUNTIME

Generator annotation describing any kind of Hibernate generator in a detyped manner
Author
Emmanuel Bernard

Method Summary

Modifier and TypeMethod and Description
public String
name()

unique generator name

public Parameter[]
parameters()

Optional generator parameters

public String
strategy()

Generator strategy either a predefined Hibernate strategy or a fully qualified class name.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

nameback to summary
public String name()

unique generator name

parametersback to summary
public Parameter[] parameters()

Optional generator parameters

strategyback to summary
public String strategy()

Generator strategy either a predefined Hibernate strategy or a fully qualified class name.