HHH-5568 correct wrong format in document

git-svn-id: https://svn.jboss.org/repos/hibernate/core/branches/Branch_3_5@20649 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Strong Liu 2010-09-16 06:39:05 +00:00
parent db6b342728
commit 394f9a0a30
1 changed files with 2 additions and 2 deletions

View File

@ -3553,14 +3553,14 @@ public class Customer implements Serializable {
Hibernate allows you to customize the SQL it uses to read and write 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:
invoke them for individual columns like this:</para>
<programlisting role="XML"><![CDATA[<property name="creditCardNumber">
<column
name="credit_card_num"
read="decrypt(credit_card_num)"
write="encrypt(?)"/>
</property>]]></programlisting>
</para>
<para>
Hibernate applies the custom expressions automatically whenever the property is
referenced in a query. This functionality is similar to a derived-property