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