improve a couple of javadoc links
This commit is contained in:
parent
512ad8c80d
commit
7bb066330a
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue