improve a couple of javadoc links

This commit is contained in:
Gavin 2022-12-07 15:18:58 +01:00
parent 512ad8c80d
commit 7bb066330a
2 changed files with 9 additions and 9 deletions

View File

@ -18,13 +18,13 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
* <p>
* {@code @ColumnDefault} may be used in combination with:
* <ul>
* <li>{@code DynamicInsert}, to let the database fill in the value of
* a null entity attribute, or
* <li>{@code @Generated(event=INSERT)}, to populate an entity attribute
* with the defaulted value of a database column.
* <li>{@link DynamicInsert @DynamicInsert}, to let the database fill in
* the value of a null entity attribute, or
* <li>{@link Generated @Generated(event=INSERT)}, to populate an entity
* attribute with the defaulted value of a database column.
* </ul>
* If {@link Generated} is not used, a {@code default} value can state held
* in memory to lose synchronization with the database.
* If {@code @Generated} is not used, a {@code default} value can cause state
* held in memory to lose synchronization with the database.
*
* @author Steve Ebersole
*

View File

@ -23,9 +23,9 @@ import static org.hibernate.generator.EventType.UPDATE;
* SQL {@code select} after it is generated.
* <p>
* {@code @Generated} relieves the program of the need to explicitly call
* {@link org.hibernate.Session#refresh(Object)} to synchronize state held
* in memory with state generated by the database when a SQL {@code insert}
* or {@code update} is executed.
* {@link org.hibernate.Session#refresh(Object) refresh()} to synchronize
* state held in memory with state generated by the database when a SQL
* {@code insert} or {@code update} is executed.
* <p>
* This is most useful when:
* <ul>