an -> a in javadoc

This commit is contained in:
Gavin King 2023-08-22 15:07:57 +02:00
parent 32f77c699f
commit 8658d6377f
1 changed files with 10 additions and 10 deletions

View File

@ -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