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:
Strong Liu 2010-09-16 06:36:49 +00:00
parent 3eb9c70d44
commit d90cc02c06
1 changed files with 4 additions and 2 deletions

View File

@ -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">&lt;property name="creditCardNumber"&gt;
&lt;column
name="credit_card_num"
read="decrypt(credit_card_num)"
write="encrypt(?)"/&gt;
&lt;/property&gt;</programlisting></para>
&lt;/property&gt;</programlisting>
<para>Hibernate applies the custom expressions automatically whenever the
property is referenced in a query. This functionality is similar to a