|
3075 | 3075 | formula="any SQL expression" <span class="co">(9)</span>
|
3076 | 3076 | entity-name="entityName" <span class="co">(10)</span>
|
3077 | 3077 | foreign-key="foreignKeyName" <span class="co">(11)</span>
|
| 3078 | + optimistic-lock="true|false" <span class="co">(12)</span> |
3078 | 3079 | /></pre><div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left">(1)</td><td valign="top" align="left"><p>
|
3079 | 3080 | <tt class="literal">name</tt>: The name of the property.
|
3080 | 3081 | </p></td></tr><tr><td width="5%" valign="top" align="left">(2)</td><td valign="top" align="left"><p>
|
|
3116 | 3117 | <tt class="literal"><formula></tt> element(s).
|
3117 | 3118 | </p></td></tr><tr><td width="5%" valign="top" align="left">(10)</td><td valign="top" align="left"><p>
|
3118 | 3119 | <tt class="literal">entity-name</tt> (optional): The entity name of the associated class.
|
3119 |
| - </p></td></tr><tr><td width="5%" valign="top" align="left">(10)</td><td valign="top" align="left"><p> |
| 3120 | + </p></td></tr><tr><td width="5%" valign="top" align="left">(11)</td><td valign="top" align="left"><p> |
3120 | 3121 | <tt class="literal">foreign-key</tt> (optional): Specifies the name of the foreign key
|
3121 | 3122 | constraint for DDL generation.
|
| 3123 | + </p></td></tr><tr><td width="5%" valign="top" align="left">(12)</td><td valign="top" align="left"><p> |
| 3124 | + <tt class="literal">optimistic-lock</tt> (optional - defaults to <tt class="literal">true</tt>): |
| 3125 | + Specifies that updates to this property do or do not require acquisition of the |
| 3126 | + optimistic lock. In other words, determines if a version increment should occur when |
| 3127 | + this property is dirty. |
3122 | 3128 | </p></td></tr></table></div></div><p>
|
3123 | 3129 | There are two varieties of one-to-one association:
|
3124 | 3130 | </p><div class="itemizedlist"><ul type="disc"><li><p>
|
|
0 commit comments