Skip to content

Commit c625912

Browse files
fixup! Support evaluation of DateTime.Now on db side
Adjust documentation formatting
1 parent 19c8cfa commit c625912

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/reference/modules/configuration.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -728,13 +728,14 @@ var session = sessions.OpenSession(conn);
728728
<literal>true</literal> | <literal>false</literal>
729729
</para>
730730
<para>
731-
Legacy pre-evaluation is causing special properties or functions like DateTime.Now or Guid.NewGuid()
732-
to be always evaluated with the .Net runtime and replaced in the query by parameter values.
731+
Legacy pre-evaluation is causing special properties or functions like <literal>DateTime.Now</literal>
732+
or <literal>Guid.NewGuid()</literal> to be always evaluated with the .Net runtime and replaced in the
733+
query by parameter values.
733734
</para>
734735
<para>
735736
The new pre-evaluation allows them to be converted to HQL function calls which will be run on the db
736737
side. This allows by example to retrieve the server time instead of the client time, or to generate
737-
GUIDs for each row instead of an unique one for all rows.
738+
UUIDs for each row instead of an unique one for all rows.
738739
</para>
739740
<para>
740741
The new pre-evaluation will likely be enabled by default in the next major version (6.0).

0 commit comments

Comments
 (0)