From d90cc02c06ef0647b58c407488349dedab4b6f17 Mon Sep 17 00:00:00 2001 From: Strong Liu Date: Thu, 16 Sep 2010 06:36:49 +0000 Subject: [PATCH] HHH-5568 correct wrong format in document git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20648 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- .../manual/src/main/docbook/en-US/content/basic_mapping.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/documentation/manual/src/main/docbook/en-US/content/basic_mapping.xml b/documentation/manual/src/main/docbook/en-US/content/basic_mapping.xml index 218e9d5b57..317edb58db 100644 --- a/documentation/manual/src/main/docbook/en-US/content/basic_mapping.xml +++ b/documentation/manual/src/main/docbook/en-US/content/basic_mapping.xml @@ -5777,13 +5777,15 @@ class LineItem { the values of columns mapped to simple properties. For example, if your database provides a set of data encryption functions, you - can invoke them for individual columns like this: +<property name="creditCardNumber"> <column name="credit_card_num" read="decrypt(credit_card_num)" write="encrypt(?)"/> -</property> +</property> Hibernate applies the custom expressions automatically whenever the property is referenced in a query. This functionality is similar to a