HHH-5568 correct wrong format in document
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20648 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
3eb9c70d44
commit
d90cc02c06
|
@ -5777,13 +5777,15 @@ class LineItem {
|
|||
the values of columns mapped to <link
|
||||
linkend="mapping-declaration-property">simple properties</link>. For
|
||||
example, if your database provides a set of data encryption functions, you
|
||||
can invoke them for individual columns like this: <programlisting
|
||||
can invoke them for individual columns like this:
|
||||
</para>
|
||||
<programlisting
|
||||
role="XML"><property name="creditCardNumber">
|
||||
<column
|
||||
name="credit_card_num"
|
||||
read="decrypt(credit_card_num)"
|
||||
write="encrypt(?)"/>
|
||||
</property></programlisting></para>
|
||||
</property></programlisting>
|
||||
|
||||
<para>Hibernate applies the custom expressions automatically whenever the
|
||||
property is referenced in a query. This functionality is similar to a
|
||||
|
|
Loading…
Reference in New Issue