an -> a in javadoc
This commit is contained in:
parent
32f77c699f
commit
8658d6377f
|
@ -51,25 +51,25 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
|||
* <p>
|
||||
* No more than one generator annotation may be placed on a given property.
|
||||
* <p>
|
||||
* Adding a generator annotation to an entity property causes the value of the
|
||||
* property to be generated when any SQL statement to {@code insert} or
|
||||
* Adding a generator annotation to an entity property causes the value of
|
||||
* the property to be generated when any SQL statement to {@code insert} or
|
||||
* {@code update} the entity is executed.
|
||||
* <p>
|
||||
* Every generator annotation type has an {@link Generator} implementation which
|
||||
* is responsible for generating values. It must be either:
|
||||
* Every generator annotation type has an {@link Generator} implementation
|
||||
* which is responsible for generating values. It must be either:
|
||||
* <ul>
|
||||
* <li>an {@link BeforeExecutionGenerator}, for values that are generated in Java code,
|
||||
* using a {@link org.hibernate.tuple.ValueGenerator}, or
|
||||
* <li>an {@link OnExecutionGenerator}, for values which are generated by the
|
||||
* database.
|
||||
* <li>a {@link BeforeExecutionGenerator}, for values that are generated in
|
||||
* Java code, using a {@link org.hibernate.tuple.ValueGenerator}, or
|
||||
* <li>an {@link OnExecutionGenerator}, for values which are generated by
|
||||
* the database.
|
||||
* </ul>
|
||||
* <p>
|
||||
* A generator annotation may have members, which are used to configure the
|
||||
* value generator, if either:
|
||||
* <ul>
|
||||
* <li>the value generator implements {@link AnnotationBasedGenerator}, or
|
||||
* <li>the value generator class has a constructor with the same signature as
|
||||
* {@link AnnotationBasedGenerator#initialize}.
|
||||
* <li>the value generator class has a constructor with the same signature
|
||||
* as {@link AnnotationBasedGenerator#initialize}.
|
||||
* </ul>
|
||||
* <p>
|
||||
* There are several excellent examples of the use of this machinery right
|
||||
|
|
Loading…
Reference in New Issue